mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
selftests: memory-hotplug: fix emit_tests regression
Commit16c513b134("selftests: memory-hotplug: silence test command echo") introduced regression in emit_tests and results in the following failure when selftests are installed and run. Fix it. Running tests in memory-hotplug ======================================== ./run_kselftest.sh: line 121: @./mem-on-off-test.sh: No such file or directory selftests: memory-hotplug [FAIL] Fixes:16c513b134(selftests: memory-hotplug: silence test command echo") Reported-by: Naresh Kamboju <[email protected]> Tested-by: Anders Roxell <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
This commit is contained in:
parent
f6869826de
commit
ba004a2955
1 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,8 @@ include ../lib.mk
|
|||
|
||||
TEST_PROGS := mem-on-off-test.sh
|
||||
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)"
|
||||
|
||||
override EMIT_TESTS := echo "$(subst @,,$(RUN_TESTS))"
|
||||
|
||||
run_full_test:
|
||||
@/bin/bash ./mem-on-off-test.sh && echo "memory-hotplug selftests: [PASS]" || echo "memory-hotplug selftests: [FAIL]"
|
||||
|
|
|
|||
Loading…
Reference in a new issue