Commit d3611d72 authored by lei.yang@windriver.com's avatar lei.yang@windriver.com Committed by Shuah Khan

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: default avatarLei Yang <Lei.Yang@windriver.com>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 2d80c92d
......@@ -4,10 +4,10 @@ all:
include ../lib.mk
TEST_PROGS := mem-on-off-test.sh
override RUN_TESTS := ./mem-on-off-test.sh -r 2 || echo "selftests: memory-hotplug [FAIL]"
override RUN_TESTS := ./mem-on-off-test.sh -r 2 && echo "selftests: memory-hotplug [PASS]" || echo "selftests: memory-hotplug [FAIL]"
override EMIT_TESTS := echo "$(RUN_TESTS)"
run_full_test:
@/bin/bash ./mem-on-off-test.sh || echo "memory-hotplug selftests: [FAIL]"
@/bin/bash ./mem-on-off-test.sh && echo "memory-hotplug selftests: [PASS]" || echo "memory-hotplug selftests: [FAIL]"
clean:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment