diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2015-07-08 11:08:01 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2015-07-08 11:09:24 +0200 |
commit | ec64b2418ccef1e14c6e58b8ca81bb9162c1dfeb (patch) | |
tree | bff0bd4240f00bbb21624c1df55583f61abaea25 /recipes-containers/lxc/files/runtest.patch | |
download | meta-virtualization-daisy-enea.tar.gz |
initial commit for Enea Linux 4.0daisy-enea
Migrated from the internal git server on the daisy-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-containers/lxc/files/runtest.patch')
-rw-r--r-- | recipes-containers/lxc/files/runtest.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-containers/lxc/files/runtest.patch b/recipes-containers/lxc/files/runtest.patch new file mode 100644 index 00000000..e4e034b2 --- /dev/null +++ b/recipes-containers/lxc/files/runtest.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | Add install-ptest rule. | ||
2 | |||
3 | Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com> | ||
4 | Upstream-status: Pending | ||
5 | |||
6 | diff -uNr a/src/tests/Makefile.am b/src/tests/Makefile.am | ||
7 | --- a/src/tests/Makefile.am 2014-04-07 16:25:59.246238815 +0300 | ||
8 | +++ b/src/tests/Makefile.am 2014-04-10 18:09:43.195772467 +0300 | ||
9 | @@ -54,6 +54,23 @@ | ||
10 | |||
11 | endif | ||
12 | |||
13 | +TESTS = lxc-test-containertests lxc-test-locktests \ | ||
14 | + lxc-test-getkeys lxc-test-lxcpath lxc-test-cgpath lxc-test-console \ | ||
15 | + lxc-test-snapshot lxc-test-concurrent lxc-test-may-control \ | ||
16 | + lxc-test-reboot lxc-test-list lxc-test-attach lxc-test-device-add-remove | ||
17 | + | ||
18 | +buildtest-TESTS: $(TESTS) | ||
19 | + | ||
20 | +install-ptest: | ||
21 | + install -d $(TEST_DIR) | ||
22 | + install -D ../lxc/liblxc.so $(TEST_DIR)/../lxc/liblxc.so | ||
23 | + install -D ../../config/test-driver $(TEST_DIR)/../../config/test-driver | ||
24 | + cp Makefile $(TEST_DIR) | ||
25 | + @(for file in $(TESTS); do install $$file $(TEST_DIR); done;) | ||
26 | + sed -i 's|^Makefile:|_Makefile:|' $(TEST_DIR)/Makefile | ||
27 | + sed -i 's|^all-am:|_all-am:|' $(TEST_DIR)/Makefile | ||
28 | + sed -i -e 's|^\(.*\.log:\) \(.*EXEEXT.*\)|\1|g' $(TEST_DIR)/Makefile | ||
29 | + | ||
30 | EXTRA_DIST = \ | ||
31 | cgpath.c \ | ||
32 | clonetest.c \ | ||