summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2019-06-01 12:51:39 +0200
committerDaiki Ueno <ueno@gnu.org>2019-06-18 14:17:28 +0200
commit084347319f6e832ec2c36d7b27a64c8f2614f084 (patch)
tree921d6c9167843414446aad70ef23cd0a898e1243 /common
parent6bebd5747aa49d4a124d23d4967f65a771799fe5 (diff)
build: Move check_PROGRAMS into subdirectories
Diffstat (limited to 'common')
-rw-r--r--common/Makefile.am12
-rw-r--r--common/test-compat.c4
2 files changed, 8 insertions, 8 deletions
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;