Commit d97e7f19 authored by Michael Ellerman's avatar Michael Ellerman

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: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 1cdc6c14
...@@ -38,5 +38,6 @@ int test_futex(void) ...@@ -38,5 +38,6 @@ int test_futex(void)
int main(void) int main(void)
{ {
test_harness_set_timeout(300);
return test_harness(test_futex, "futex_bench"); return test_harness(test_futex, "futex_bench");
} }
...@@ -84,5 +84,7 @@ int main(int argc, char *argv[]) ...@@ -84,5 +84,7 @@ int main(int argc, char *argv[])
exit(1); exit(1);
} }
} }
test_harness_set_timeout(300);
return test_harness(test_mmap, "mmap_bench"); return test_harness(test_mmap, "mmap_bench");
} }
...@@ -162,5 +162,6 @@ int instruction_count(void) ...@@ -162,5 +162,6 @@ int instruction_count(void)
int main(void) int main(void)
{ {
test_harness_set_timeout(300);
return test_harness(instruction_count, "instruction_count"); return test_harness(instruction_count, "instruction_count");
} }
...@@ -98,5 +98,6 @@ static int lost_exception(void) ...@@ -98,5 +98,6 @@ static int lost_exception(void)
int main(void) int main(void)
{ {
test_harness_set_timeout(300);
return test_harness(lost_exception, "lost_exception"); return test_harness(lost_exception, "lost_exception");
} }
...@@ -154,5 +154,6 @@ static int testcases(void) ...@@ -154,5 +154,6 @@ static int testcases(void)
int main(void) int main(void)
{ {
test_harness_set_timeout(300);
return test_harness(testcases, "memcmp"); return test_harness(testcases, "memcmp");
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment