Files
opm-simulators/python/docker/test_wheels
Håkon Hægland 0b8926c475 Add focused test selection for Docker wheel testing
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.
2025-09-23 06:48:20 +02:00
..