mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-04 13:17:18 -06:00
Adds a new CLI option to control test execution behavior when failures occur: - Without --stop-on-error (default): Continue running all tests even if some fail - With --stop-on-error: Stop execution on first test failure (previous behavior) This enables comprehensive debugging by running both opm-common and omp-simulators tests in a single run, showing all failures at once rather than stopping at the first one. Changes: - Add --stop-on-error flag to run-docker-image command - Pass STOP_ON_ERROR environment variable to Docker container - Update entrypoint.py to handle continue-on-error behavior - Modify test functions to check return codes and continue when appropriate - Maintain backward compatibility with existing error handling