summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch')
-rw-r--r--meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch b/meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch
new file mode 100644
index 0000000000..26d108c209
--- /dev/null
+++ b/meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch
@@ -0,0 +1,33 @@
1From 6309554225e05e76167eda4e0df383fb3d1a62c3 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 20 Dec 2019 16:54:05 +0100
4Subject: [PATCH] tests: do not run target executables
5
6Upstream-Status: Inappropriate [oe-core specific]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8
9---
10 tests/Makefile | 3 ---
11 1 file changed, 3 deletions(-)
12
13diff --git a/tests/Makefile b/tests/Makefile
14index 95e4ca6..7162cf0 100644
15--- a/tests/Makefile
16+++ b/tests/Makefile
17@@ -19,8 +19,6 @@ sudotest: test
18 install: all
19
20 run_psx_test: psx_test psx_test_wrap
21- ./psx_test
22- ./psx_test_wrap
23
24 psx_test: psx_test.c $(DEPS)
25 $(CC) $(CFLAGS) $(IPATH) -DNOWRAP $< -o $@ $(LIBPSXLIB)
26@@ -29,7 +27,6 @@ psx_test_wrap: psx_test.c $(DEPS)
27 $(CC) $(CFLAGS) $(IPATH) $< -o $@ $(LIBPSXLIB) -Wl,-wrap,pthread_create
28
29 run_libcap_psx_test: libcap_psx_test
30- ./libcap_psx_test
31
32 libcap_psx_test: libcap_psx_test.c $(DEPS)
33 $(CC) $(CFLAGS) $(IPATH) $< -o $@ $(LIBCAPLIB) $(LIBPSXLIB) -Wl,-wrap,pthread_create --static