summaryrefslogtreecommitdiff
path: root/tests/run-tests.py
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2025-07-03 20:11:03 +0100
committerDamien George <damien@micropython.org>2025-07-06 00:08:13 +1000
commita8c2b917e2837541597f24f7220c8c73c16c2fa7 (patch)
treeaffa4f58101be24b11630fd3b3f96d6001089f1b /tests/run-tests.py
parente415d03e7fd31af71c643a3d8f38a50e25fca0e7 (diff)
tools/ci.sh: Increase test timeout to 60s in coverage jobs.
The additional overhead of the settrace profiler means that the `aes_stress.py` test was running too slowly on GitHub CI. Double the timeout to 60 seconds. Signed-off-by: Jeff Epler <jepler@gmail.com>
Diffstat (limited to 'tests/run-tests.py')
-rwxr-xr-xtests/run-tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-tests.py b/tests/run-tests.py
index d1d22a3c5..faf1d2e3b 100755
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -16,7 +16,7 @@ import threading
import tempfile
# Maximum time to run a PC-based test, in seconds.
-TEST_TIMEOUT = 30
+TEST_TIMEOUT = float(os.environ.get('MICROPY_TEST_TIMEOUT', 30))
# See stackoverflow.com/questions/2632199: __file__ nor sys.argv[0]
# are guaranteed to always work, this one should though.