diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-26 15:24:59 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-08-07 14:49:26 +0300 |
commit | d97e7f198b10ea9d17ea64606f18102260870782 (patch) | |
tree | 9c84a5ca8164037bf14bc4d0c6e91f57e5927f11 /tools/testing/selftests/powerpc/benchmarks | |
parent | 1cdc6c14b0ddef699c947babd93992a8c0e874ed (diff) | |
download | linux-d97e7f198b10ea9d17ea64606f18102260870782.tar.xz |
selftests/powerpc: Give some tests longer to run
Some of these long running tests can time out on heavily loaded
systems, give them longer to run.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/testing/selftests/powerpc/benchmarks')
-rw-r--r-- | tools/testing/selftests/powerpc/benchmarks/futex_bench.c | 1 | ||||
-rw-r--r-- | tools/testing/selftests/powerpc/benchmarks/mmap_bench.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/benchmarks/futex_bench.c b/tools/testing/selftests/powerpc/benchmarks/futex_bench.c index 2fc711d9150d..d58e4dc50fcd 100644 --- a/tools/testing/selftests/powerpc/benchmarks/futex_bench.c +++ b/tools/testing/selftests/powerpc/benchmarks/futex_bench.c @@ -38,5 +38,6 @@ int test_futex(void) int main(void) { + test_harness_set_timeout(300); return test_harness(test_futex, "futex_bench"); } diff --git a/tools/testing/selftests/powerpc/benchmarks/mmap_bench.c b/tools/testing/selftests/powerpc/benchmarks/mmap_bench.c index 7a0a462a2272..033de0560d99 100644 --- a/tools/testing/selftests/powerpc/benchmarks/mmap_bench.c +++ b/tools/testing/selftests/powerpc/benchmarks/mmap_bench.c @@ -84,5 +84,7 @@ int main(int argc, char *argv[]) exit(1); } } + + test_harness_set_timeout(300); return test_harness(test_mmap, "mmap_bench"); } |