mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-28 16:40:09 -05:00
This enhancement adds the ability to run specific test cases in the Docker testing infrastructure, enabling more focused debugging and faster iteration when investigating test failures. Changes: - Add --test-cases-common and --test-cases-simulators CLI options to opm-wheels - Pass test selection as environment variables to Docker container - Update entrypoint.py to support selective test execution: * Run only opm-common tests when --test-cases-common is specified * Run only opm-simulators tests when --test-cases-simulators is specified * Maintain backward compatibility (run all tests if no selection specified) - Support both host-tests-dir and cloned repo testing modes Usage examples: # Run only esmry tests from opm-common opm-wheels run-docker-image --test-cases-common=esmry # Run only basic tests from opm-simulators opm-wheels run-docker-image --test-cases-simulators=basic # Run specific tests from both suites opm-wheels run-docker-image --test-cases-common=esmry --test-cases-simulators=mpi This enables efficient debugging of Docker-specific test failures by isolating problematic test cases without running the full test suite.