Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | rename test target as run-test |
| 2 | |
| 3 | Upstream-Statue: Pending |
| 4 | |
| 5 | test target not only compile the test files, but also run them, which is |
| 6 | not suitable for cross-compile environment, so rename it as run-test. |
| 7 | |
| 8 | and define test target to compile the test files. |
| 9 | |
| 10 | Signed-off-by: Roy Li <rongqing.li@windriver.com> |
| 11 | --- |
| 12 | Makefile.am | 4 +++- |
| 13 | 1 file changed, 3 insertions(+), 1 deletion(-) |
| 14 | |
| 15 | diff --git a/Makefile.am b/Makefile.am |
| 16 | index 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 | -- |
| 31 | 1.9.1 |
| 32 | |