forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
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
rename test target as run-test
 
Upstream-Statue: 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 b6db339..de176c4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -124,7 +124,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;
 
-- 
1.9.1