From 084347319f6e832ec2c36d7b27a64c8f2614f084 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Sat, 1 Jun 2019 12:51:39 +0200 Subject: build: Move check_PROGRAMS into subdirectories --- common/Makefile.am | 12 ++++++------ common/test-compat.c | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'common') diff --git a/common/Makefile.am b/common/Makefile.am index 410d704..4c6e24c 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -119,12 +119,12 @@ test_runtime_SOURCES = common/test-runtime.c test_runtime_LDADD = $(common_LIBS) check_PROGRAMS += \ - frob-getauxval \ - frob-getenv \ + common/frob-getauxval \ + common/frob-getenv \ $(NULL) -frob_getauxval_SOURCES = common/frob-getauxval.c -frob_getauxval_LDADD = $(common_LIBS) +common_frob_getauxval_SOURCES = common/frob-getauxval.c +common_frob_getauxval_LDADD = $(common_LIBS) -frob_getenv_SOURCES = common/frob-getenv.c -frob_getenv_LDADD = $(common_LIBS) +common_frob_getenv_SOURCES = common/frob-getenv.c +common_frob_getenv_LDADD = $(common_LIBS) diff --git a/common/test-compat.c b/common/test-compat.c index e1deac8..4e76a7d 100644 --- a/common/test-compat.c +++ b/common/test-compat.c @@ -63,7 +63,7 @@ static void test_getauxval (void) { /* 23 is AT_SECURE */ - const char *args[] = { BUILDDIR "/frob-getauxval", "23", NULL }; + const char *args[] = { BUILDDIR "/common/frob-getauxval", "23", NULL }; char *path; int ret; @@ -86,7 +86,7 @@ test_getauxval (void) static void test_secure_getenv (void) { - const char *args[] = { BUILDDIR "/frob-getenv", "BLAH", NULL }; + const char *args[] = { BUILDDIR "/common/frob-getenv", "BLAH", NULL }; char *path; int ret; -- cgit v1.1