From 00bebed8ed9419f285118b9866e005054ce874a2 Mon Sep 17 00:00:00 2001 From: Trey Moen Date: Sun, 23 Aug 2026 09:38:34 -0700 Subject: [PATCH] test_wheels_in_image.sh: fail on smoketest errors --- test_wheels_in_image.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test_wheels_in_image.sh b/test_wheels_in_image.sh index 995aaac..c89ccd7 100755 --- a/test_wheels_in_image.sh +++ b/test_wheels_in_image.sh @@ -34,7 +34,8 @@ docker run --rm -v "$PWD:/work" -w /work wheeltest bash -lc ' pip install dist/*.whl for toml in */pyproject.toml; do module="$(basename "$(dirname "$toml")" | tr "-" "_")" - python -c "import $module; $module.smoketest()" && echo "$module: OK" + python -c "import $module; $module.smoketest()" || exit 1 + echo "$module: OK" done '