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/pmu | |
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/pmu')
-rw-r--r-- | tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test.c | 1 | ||||
-rw-r--r-- | tools/testing/selftests/powerpc/pmu/ebb/lost_exception_test.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test.c b/tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test.c index ae9a79086111..35a3426e341c 100644 --- a/tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test.c +++ b/tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test.c @@ -162,5 +162,6 @@ int instruction_count(void) int main(void) { + test_harness_set_timeout(300); return test_harness(instruction_count, "instruction_count"); } diff --git a/tools/testing/selftests/powerpc/pmu/ebb/lost_exception_test.c b/tools/testing/selftests/powerpc/pmu/ebb/lost_exception_test.c index eb8acb78bc6c..2ed7ad33f7a3 100644 --- a/tools/testing/selftests/powerpc/pmu/ebb/lost_exception_test.c +++ b/tools/testing/selftests/powerpc/pmu/ebb/lost_exception_test.c @@ -98,5 +98,6 @@ static int lost_exception(void) int main(void) { + test_harness_set_timeout(300); return test_harness(lost_exception, "lost_exception"); } |