summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/numactl/numactl/0001-define-run-test-target.patch
blob: 68b3e2491ff4cc75d5cab2d20d4b202d88d77523 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From a5e1fa272f294e739d6caaf629968478796ca53a Mon Sep 17 00:00:00 2001
From: Roy Li <rongqing.li@windriver.com>
Date: Mon, 19 Oct 2020 14:42:11 -0700
Subject: [PATCH] rename test target as run-test

Upstream-Status: Pending

test target not only compile the test files, but also run them, which is
not suitable for cross-compile environment, so rename it as run-test.

and define test target to compile the test files.

Signed-off-by: Roy Li <rongqing.li@windriver.com>

---
 Makefile.am | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index da01d27..c738b93 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -126,7 +126,9 @@ regress2: $(check_PROGRAMS)
 test_numademo: numademo
 	./numademo -t -e 10M
 
-test: all $(check_PROGRAMS) regress1 regress2 test_numademo
+test: all $(check_PROGRAMS)
+
+run-test: all $(check_PROGRAMS) regress1 regress2 test_numademo
 
 TESTS_ENVIRONMENT = builddir='$(builddir)'; export builddir;