1From a5e1fa272f294e739d6caaf629968478796ca53a Mon Sep 17 00:00:00 2001 2From: Roy Li <rongqing.li@windriver.com> 3Date: Mon, 19 Oct 2020 14:42:11 -0700 4Subject: [PATCH] rename test target as run-test 5 6Upstream-Status: Pending 7 8test target not only compile the test files, but also run them, which is 9not suitable for cross-compile environment, so rename it as run-test. 10 11and define test target to compile the test files. 12 13Signed-off-by: Roy Li <rongqing.li@windriver.com> 14 15--- 16 Makefile.am | 4 +++- 17 1 file changed, 3 insertions(+), 1 deletion(-) 18 19diff --git a/Makefile.am b/Makefile.am 20index da01d27..c738b93 100644 21--- a/Makefile.am 22+++ b/Makefile.am 23@@ -126,7 +126,9 @@ regress2: $(check_PROGRAMS) 24 test_numademo: numademo 25 ./numademo -t -e 10M 26 27-test: all $(check_PROGRAMS) regress1 regress2 test_numademo 28+test: all $(check_PROGRAMS) 29+ 30+run-test: all $(check_PROGRAMS) regress1 regress2 test_numademo 31 32 TESTS_ENVIRONMENT = builddir='$(builddir)'; export builddir; 33 34