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>
This commit is contained in:
@@ -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[])
|
|||||||
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)
|
|||||||
|
|
||||||
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)
|
|||||||
|
|
||||||
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)
|
|||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
|
test_harness_set_timeout(300);
|
||||||
return test_harness(testcases, "memcmp");
|
return test_harness(testcases, "memcmp");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user