selftests/powerpc: Give all tests 2 minutes timeout
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 6 Nov 2024 13:04:50 +0000 (00:04 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 7 Nov 2024 11:36:30 +0000 (22:36 +1100)
Each of the powerpc selftests runs with a timeout of 2 minutes by
default (see tools/testing/selftests/powerpc/harness.c).

But when tests are run with run_kselftest.sh it uses a timeout of 45
seconds, meaning some tests run OK standalone but fail when run with the
test runner.

So tell run_kselftest.sh to give each test 130 seconds, that should
allow the tests to complete, or be killed by the powerpc test harness
after 2 minutes. If for some reason the harness fails, or for the few
tests that don't use the harness, the 130 second timeout should catch
them if they get stuck.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/20241106130453.1741013-2-mpe@ellerman.id.au
22 files changed:
tools/testing/selftests/powerpc/alignment/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/cache_shape/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/copyloops/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/dexcr/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/dscr/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/lib/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/math/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/mce/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/mm/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/nx-gzip/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/papr_attributes/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/papr_sysparm/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/papr_vpd/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/pmu/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/primitives/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/ptrace/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/scripts/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/security/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/stringloops/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/switch_endian/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/syscalls/settings [new file with mode: 0644]
tools/testing/selftests/powerpc/vphn/settings [new file with mode: 0644]

diff --git a/tools/testing/selftests/powerpc/alignment/settings b/tools/testing/selftests/powerpc/alignment/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/cache_shape/settings b/tools/testing/selftests/powerpc/cache_shape/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/copyloops/settings b/tools/testing/selftests/powerpc/copyloops/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/dexcr/settings b/tools/testing/selftests/powerpc/dexcr/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/dscr/settings b/tools/testing/selftests/powerpc/dscr/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/lib/settings b/tools/testing/selftests/powerpc/lib/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/math/settings b/tools/testing/selftests/powerpc/math/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/mce/settings b/tools/testing/selftests/powerpc/mce/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/mm/settings b/tools/testing/selftests/powerpc/mm/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/nx-gzip/settings b/tools/testing/selftests/powerpc/nx-gzip/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/papr_attributes/settings b/tools/testing/selftests/powerpc/papr_attributes/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/papr_sysparm/settings b/tools/testing/selftests/powerpc/papr_sysparm/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/papr_vpd/settings b/tools/testing/selftests/powerpc/papr_vpd/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/pmu/settings b/tools/testing/selftests/powerpc/pmu/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/primitives/settings b/tools/testing/selftests/powerpc/primitives/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/ptrace/settings b/tools/testing/selftests/powerpc/ptrace/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/scripts/settings b/tools/testing/selftests/powerpc/scripts/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/security/settings b/tools/testing/selftests/powerpc/security/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/stringloops/settings b/tools/testing/selftests/powerpc/stringloops/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/switch_endian/settings b/tools/testing/selftests/powerpc/switch_endian/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/syscalls/settings b/tools/testing/selftests/powerpc/syscalls/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130
diff --git a/tools/testing/selftests/powerpc/vphn/settings b/tools/testing/selftests/powerpc/vphn/settings
new file mode 100644 (file)
index 0000000..2e85661
--- /dev/null
@@ -0,0 +1 @@
+timeout=130