Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
16216c83
Commit
16216c83
authored
Sep 09, 2012
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefix the test binaries by lxc-test-
Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
9c9b9845
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
+13
-11
runapitests.sh
runapitests.sh
+1
-1
Makefile.am
src/tests/Makefile.am
+12
-10
No files found.
runapitests.sh
View file @
16216c83
...
...
@@ -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
...
...
src/tests/Makefile.am
View file @
16216c83
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
l
xc_test_l
ocktests_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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment