mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-05 06:19:25 +00:00
Prefix the test binaries by lxc-test-
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
9c9b984556
commit
16216c8329
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user