[PATCH 1/4] testsuite: allow to run all tests below testsuite in container

2 views
Skip to first unread message

Felix Moessbauer

unread,
Aug 21, 2026, 5:40:50 AM (8 days ago) Aug 21
to isar-...@googlegroups.com, Felix Moessbauer
Previously the testsuite/citest.py was appended to the avocado cmdline
if not present. This made it impossible to run other testsuites, like
the repro-build-test.py.

We now only append the citest.py if no other .py file is provided on the
cmdline.

Signed-off-by: Felix Moessbauer <felix.mo...@siemens.com>
---
testsuite/dockerdata/test-container-entrypoint | 2 +-
testsuite/dockerdata/version | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuite/dockerdata/test-container-entrypoint b/testsuite/dockerdata/test-container-entrypoint
index 4f3f43b7..aa3def79 100755
--- a/testsuite/dockerdata/test-container-entrypoint
+++ b/testsuite/dockerdata/test-container-entrypoint
@@ -58,7 +58,7 @@ EOF
done

case "$args" in
-*testsuite/citest.py*)
+*testsuite/*.py*)
;;
*)
args="$args testsuite/citest.py"
diff --git a/testsuite/dockerdata/version b/testsuite/dockerdata/version
index 0cfbf088..00750edc 100644
--- a/testsuite/dockerdata/version
+++ b/testsuite/dockerdata/version
@@ -1 +1 @@
-2
+3
--
2.55.0

Felix Moessbauer

unread,
Aug 21, 2026, 5:40:51 AM (8 days ago) Aug 21
to isar-...@googlegroups.com, Felix Moessbauer
As a preparation to not always delete the python cache, we check if our
images are also built reproducible if python is installed.

Signed-off-by: Felix Moessbauer <felix.mo...@siemens.com>
---
testsuite/repro-build-test.py | 1 +
1 file changed, 1 insertion(+)

diff --git a/testsuite/repro-build-test.py b/testsuite/repro-build-test.py
index 6234a8d7..f8fbd63e 100755
--- a/testsuite/repro-build-test.py
+++ b/testsuite/repro-build-test.py
@@ -57,6 +57,7 @@ class ReproBuild(CIBuilder):
source_date_epoch=source_date_epoch, use_apt_snapshot=True,
lines=[
f'IMAGE_FSTYPES = "{image_fstype}"',
+ 'IMAGE_PREINSTALL += "python3"',
]
)
self.bitbake(target)
--
2.55.0

Reply all
Reply to author
Forward
0 new messages