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
424B

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