]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Prefix the test binaries by lxc-test-
authorStéphane Graber <stgraber@ubuntu.com>
Sun, 9 Sep 2012 17:14:38 +0000 (13:14 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 12 Nov 2012 18:17:54 +0000 (13:17 -0500)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
runapitests.sh
src/tests/Makefile.am

index 6419b187db153d736727009e7254a6f5975718e8..65bee6cad314dbc7b9a97a6a944be7ce18fbe854 100644 (file)
@@ -18,7 +18,7 @@ EOF
 
 [ -f liblxc.so.0 ] || ln -s src/lxc/liblxc.so ./liblxc.so.0
 export LD_LIBRARY_PATH=.
-TESTS="containertests locktests startone"
+TESTS="lxc-test-containertests lxc-test-locktests lxc-test-startone"
 for curtest in $TESTS; do
        echo "running $curtest"
        ./src/tests/$curtest
index c77f1fbbe91d8444c71d390a81aa4a96d09cebe8..f4e4a5a218ca47b9271171afff6e7a3d861428d7 100644 (file)
@@ -1,21 +1,23 @@
 if ENABLE_TESTS
 
 LDADD = ../lxc/liblxc.so -lrt
-containertests_SOURCES = containertests.c
-locktests_SOURCES = locktests.c
-startone_SOURCES = startone.c
-destroytest_SOURCES = destroytest.c
-saveconfig_SOURCES = saveconfig.c
-createtest_SOURCES = createtest.c
-shutdowntest_SOURCES = shutdowntest.c
-get_item_SOURCES = get_item.c
-getkeys_SOURCES = getkeys.c
+lxc_test_containertests_SOURCES = containertests.c
+lxc_test_locktests_SOURCES = locktests.c
+lxc_test_startone_SOURCES = startone.c
+lxc_test_destroytest_SOURCES = destroytest.c
+lxc_test_saveconfig_SOURCES = saveconfig.c
+lxc_test_createtest_SOURCES = createtest.c
+lxc_test_shutdowntest_SOURCES = shutdowntest.c
+lxc_test_get_item_SOURCES = get_item.c
+lxc_test_getkeys_SOURCES = getkeys.c
 
 AM_CFLAGS=-I$(top_srcdir)/src \
        -DLXCROOTFSMOUNT=\"$(LXCROOTFSMOUNT)\" \
        -DLXCPATH=\"$(LXCPATH)\" \
        -DLXCINITDIR=\"$(LXCINITDIR)\"
 
-bin_PROGRAMS = containertests locktests startone destroytest saveconfig createtest shutdowntest get_item getkeys
+bin_PROGRAMS = lxc-test-containertests lxc-test-locktests lxc-test-startone \
+       lxc-test-destroytest lxc-test-saveconfig lxc-test-createtest \
+       lxc-test-shutdowntest lxc-test-get_item lxc-test-getkeys
 
 endif