您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213
  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/calc{dds.exe_suffix}'
  10. assert test_exe.exists()
  11. assert proc.run([test_exe]).returncode == 0