Skip to content

Commit

Permalink
selftests/powerpc: Give some tests longer to run
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Ellerman committed Aug 7, 2018
1 parent 1cdc6c1 commit d97e7f1
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/testing/selftests/powerpc/benchmarks/futex_bench.c
Original file line number Diff line number Diff line change
@@ -38,5 +38,6 @@ int test_futex(void)

int main(void)
{
test_harness_set_timeout(300);
return test_harness(test_futex, "futex_bench");
}
2 changes: 2 additions & 0 deletions tools/testing/selftests/powerpc/benchmarks/mmap_bench.c
Original file line number Diff line number Diff line change
@@ -84,5 +84,7 @@ int main(int argc, char *argv[])
exit(1);
}
}

test_harness_set_timeout(300);
return test_harness(test_mmap, "mmap_bench");
}
Original file line number Diff line number Diff line change
@@ -162,5 +162,6 @@ int instruction_count(void)

int main(void)
{
test_harness_set_timeout(300);
return test_harness(instruction_count, "instruction_count");
}
Original file line number Diff line number Diff line change
@@ -98,5 +98,6 @@ static int lost_exception(void)

int main(void)
{
test_harness_set_timeout(300);
return test_harness(lost_exception, "lost_exception");
}
1 change: 1 addition & 0 deletions tools/testing/selftests/powerpc/stringloops/memcmp.c
Original file line number Diff line number Diff line change
@@ -154,5 +154,6 @@ static int testcases(void)

int main(void)
{
test_harness_set_timeout(300);
return test_harness(testcases, "memcmp");
}

0 comments on commit d97e7f1

Please sign in to comment.