summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Cabé <benjamin@zephyrproject.org>2025-10-23 17:25:08 +0200
committerTorsten Tejlmand Rasmussen <torsten.rasmussen@nordicsemi.no>2026-02-02 08:22:15 +0100
commit24aef157aead07f813f874f43ee471b057e622cb (patch)
tree57cbb867898e31f9efb3fcce0997ecd3267ea1cc /tests
parentffb54593b899c42fe70e55d26e02d4cd4a9ca53d (diff)
drop support for Python 2.x as it is very much EOL
A follow-up to b96a5ad562deffa697d966c29546650aae645f48 where we stopped having CI run tests on Python 2.x. This actually drops the few remaining Python 2.x compatibility bits as Python 2.x has EOL'd a long time ago. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org> Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/reltest8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/reltest b/tests/reltest
index f0c0645..2a1d8db 100755
--- a/tests/reltest
+++ b/tests/reltest
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
-# Runs the test suite and all examples scripts with Python 2 and Python 3,
-# bailing immediately if anything fails. For the examples that aren't tested in
-# the test suite, we just confirm that they at least run.
+# Runs the test suite and all examples scripts, bailing immediately if anything
+# fails. For the examples that aren't tested in the test suite, we just confirm
+# that they at least run.
#
# Should be run from the kernel root with $ Kconfiglib/tests/reltest
@@ -21,7 +21,7 @@ test_script() {
}
if [ $# == "0" ]; then
- py_execs="python2 python3"
+ py_execs="python3"
else
py_execs=$@
fi