]> git.baikalelectronics.ru Git - kernel.git/commitdiff
selftests/cpu-hotplug: Add log info when test success
authorZhao Gongyi <zhaogongyi@huawei.com>
Mon, 5 Sep 2022 13:36:15 +0000 (21:36 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 5 Oct 2022 17:05:18 +0000 (11:05 -0600)
Add log information when run full test successfully.

Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/cpu-hotplug/Makefile

index d8be047ee5b6aabb637c87a31f1dc2df4e8543bc..8b66c473834404be7d52e41475ac4d71ba1aea75 100644 (file)
@@ -6,6 +6,6 @@ TEST_PROGS := cpu-on-off-test.sh
 include ../lib.mk
 
 run_full_test:
-       @/bin/bash ./cpu-on-off-test.sh -a || echo "cpu-hotplug selftests: [FAIL]"
+       @/bin/bash ./cpu-on-off-test.sh -a && echo "cpu-hotplug selftests: [PASS]" || echo "cpu-hotplug selftests: [FAIL]"
 
 clean: