diff options
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.patch | 14 |
1 files changed, 7 insertions, 7 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 index e8f1df98c1..bfce8e0547 100644 --- 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 | |||
@@ -1,4 +1,4 @@ | |||
1 | From 5583b48c04d5bf50b56473d88d990c3f0bc45c14 Mon Sep 17 00:00:00 2001 | 1 | From 7744c1f678f5226a151bc6b2a254a56835229d91 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Fri, 20 Dec 2019 16:54:05 +0100 | 3 | Date: Fri, 20 Dec 2019 16:54:05 +0100 |
4 | Subject: [PATCH] tests: do not run target executables | 4 | Subject: [PATCH] tests: do not run target executables |
@@ -11,20 +11,20 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
11 | 1 file changed, 2 deletions(-) | 11 | 1 file changed, 2 deletions(-) |
12 | 12 | ||
13 | diff --git a/tests/Makefile b/tests/Makefile | 13 | diff --git a/tests/Makefile b/tests/Makefile |
14 | index bfedbc2..876a8b9 100644 | 14 | index 8956d5d..d569650 100644 |
15 | --- a/tests/Makefile | 15 | --- a/tests/Makefile |
16 | +++ b/tests/Makefile | 16 | +++ b/tests/Makefile |
17 | @@ -19,13 +19,11 @@ sudotest: test run_libcap_launch_test run_libcap_launch_test | 17 | @@ -27,13 +27,11 @@ sudotest: test run_libcap_launch_test run_libcap_launch_test |
18 | install: all | 18 | install: all |
19 | 19 | ||
20 | run_psx_test: psx_test | 20 | run_psx_test: psx_test |
21 | - ./psx_test | 21 | - $(LDPATH) ./psx_test |
22 | 22 | ||
23 | psx_test: psx_test.c $(DEPS) | 23 | psx_test: psx_test.c $(DEPS) |
24 | $(CC) $(CFLAGS) $(IPATH) $< -o $@ $(LIBPSXLIB) -Wl,-wrap,pthread_create | 24 | $(CC) $(CFLAGS) $(IPATH) $< -o $@ $(LIBPSXLIB) |
25 | 25 | ||
26 | run_libcap_psx_test: libcap_psx_test | 26 | run_libcap_psx_test: libcap_psx_test |
27 | - ./libcap_psx_test | 27 | - $(LDPATH) ./libcap_psx_test |
28 | 28 | ||
29 | libcap_psx_test: libcap_psx_test.c $(DEPS) | 29 | libcap_psx_test: libcap_psx_test.c $(DEPS) |
30 | $(CC) $(CFLAGS) $(IPATH) $< -o $@ $(LIBCAPLIB) $(LIBPSXLIB) -Wl,-wrap,pthread_create --static | 30 | $(CC) $(CFLAGS) $(IPATH) $< -o $@ $(LIBCAPLIB) $(LIBPSXLIB) $(LDFLAGS) |