You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 satır
407B

  1. from tests import DDS, dds_fixture_conf, DDSFixtureParams
  2. from dds_ci import proc
  3. @dds_fixture_conf(
  4. DDSFixtureParams('main', 'main'),
  5. DDSFixtureParams('custom-runner', 'custom-runner'),
  6. )
  7. def test_catch_testdriver(dds: DDS):
  8. dds.build(tests=True)
  9. test_exe = dds.build_dir / f'test/testlib/calc{dds.exe_suffix}'
  10. assert test_exe.exists()
  11. assert proc.run([test_exe]).returncode == 0