blob: 78ffb22f89babeeb361916c43525b5ddd5733ddf [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001rename test target as run-test
2
3Upstream-Statue: Pending
4
5test target not only compile the test files, but also run them, which is
6not suitable for cross-compile environment, so rename it as run-test.
7
8and define test target to compile the test files.
9
10Signed-off-by: Roy Li <rongqing.li@windriver.com>
11---
12 Makefile.am | 4 +++-
13 1 file changed, 3 insertions(+), 1 deletion(-)
14
15diff --git a/Makefile.am b/Makefile.am
16index b6db339..de176c4 100644
17--- a/Makefile.am
18+++ b/Makefile.am
19@@ -124,7 +124,9 @@ regress2: $(check_PROGRAMS)
20 test_numademo: numademo
21 ./numademo -t -e 10M
22
23-test: all $(check_PROGRAMS) regress1 regress2 test_numademo
24+test: all $(check_PROGRAMS)
25+
26+run-test: all $(check_PROGRAMS) regress1 regress2 test_numademo
27
28 TESTS_ENVIRONMENT = builddir='$(builddir)'; export builddir;
29
30--
311.9.1
32