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

  1. from tests import DDS
  2. from tests.http import RepoFixture
  3. from dds_ci import proc, paths, toolchain
  4. def test_get_build_use_spdlog(dds: DDS, http_repo: RepoFixture) -> None:
  5. http_repo.import_json_file(dds.source_root / 'catalog.json')
  6. dds.repo_add(http_repo.url)
  7. tc_fname = 'gcc.tc.jsonc' if 'gcc' in toolchain.get_default_test_toolchain().name else 'msvc.tc.jsonc'
  8. tc = str(dds.test_dir / tc_fname)
  9. dds.build(toolchain=tc, apps=True)
  10. proc.check_run([(dds.build_dir / 'use-spdlog').with_suffix(paths.EXE_SUFFIX)])