diff options
author | lei.yang@windriver.com <lei.yang@windriver.com> | 2017-10-17 03:06:48 -0400 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-11-15 10:01:43 -0500 |
commit | d3611d72070591b4255cdccf1bc0cc4f0e56b1a0 (patch) | |
tree | da3b40a438c9ebdaba98592ff901f92018ad6afe /tools | |
parent | 2d80c92d6cae986e8f3f04e64dbea9883680ae1c (diff) |
selftests: add missing test result status in memory-hotplug test
it only prints FAIL status when test fails, but doesn't print PASS
status when test pass,this patch is to add PASS status in the test log.
Signed-off-by: Lei Yang <Lei.Yang@windriver.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/memory-hotplug/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/memory-hotplug/Makefile b/tools/testing/selftests/memory-hotplug/Makefile index 23db11c94b59..86636d207adf 100644 --- a/tools/testing/selftests/memory-hotplug/Makefile +++ b/tools/testing/selftests/memory-hotplug/Makefile | |||
@@ -4,10 +4,10 @@ all: | |||
4 | include ../lib.mk | 4 | include ../lib.mk |
5 | 5 | ||
6 | TEST_PROGS := mem-on-off-test.sh | 6 | TEST_PROGS := mem-on-off-test.sh |
7 | override RUN_TESTS := ./mem-on-off-test.sh -r 2 || echo "selftests: memory-hotplug [FAIL]" | 7 | override RUN_TESTS := ./mem-on-off-test.sh -r 2 && echo "selftests: memory-hotplug [PASS]" || echo "selftests: memory-hotplug [FAIL]" |
8 | override EMIT_TESTS := echo "$(RUN_TESTS)" | 8 | override EMIT_TESTS := echo "$(RUN_TESTS)" |
9 | 9 | ||
10 | run_full_test: | 10 | run_full_test: |
11 | @/bin/bash ./mem-on-off-test.sh || echo "memory-hotplug selftests: [FAIL]" | 11 | @/bin/bash ./mem-on-off-test.sh && echo "memory-hotplug selftests: [PASS]" || echo "memory-hotplug selftests: [FAIL]" |
12 | 12 | ||
13 | clean: | 13 | clean: |