diff options
author | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-05-02 05:20:55 +0300 |
---|---|---|
committer | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-05-31 00:21:52 +0300 |
commit | 4ed8b153c088063f3c4db1a3f078c938a4d86291 (patch) | |
tree | c01a4a6c2f0cb62e07cecc62c2b10432ea141324 /tools/testing/selftests/memory-hotplug/mem-on-off-test.sh | |
parent | 978e9aa19b23b6c6f14f1ad507dd69bbc7e59655 (diff) | |
download | linux-4ed8b153c088063f3c4db1a3f078c938a4d86291.tar.xz |
selftests: memory-hotplug: delete RUN_TESTS and EMIT_TESTS overrides
Delete RUN_TESTS and EMIT_TESTS overrides and use common defines in
lib.mk. Common defines work after making the change the test to run
with ratio=2 as the default mode to be able to invoke the test without
the "-r 2" argument from the common RUN_TESTS and EMIT_TESTS.
The run_full_tests target now calls the test with "-r 10".
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Reviewed-by: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Lei.Yang@windriver.com
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Diffstat (limited to 'tools/testing/selftests/memory-hotplug/mem-on-off-test.sh')
-rwxr-xr-x | tools/testing/selftests/memory-hotplug/mem-on-off-test.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh b/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh index ae2c790d0880..ff4991704d07 100755 --- a/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh +++ b/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh @@ -133,7 +133,8 @@ offline_memory_expect_fail() error=-12 priority=0 -ratio=10 +# Run with default of ratio=2 for Kselftest run +ratio=2 retval=0 while getopts e:hp:r: opt; do |