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.

18 lines
621B

  1. from tests import DDS
  2. from tests.http import RepoFixture
  3. import platform
  4. import pytest
  5. from dds_ci import proc
  6. @pytest.mark.skipif(platform.system() == 'FreeBSD', reason='This one has trouble running on FreeBSD')
  7. def test_get_build_use_cryptopp(dds: DDS, http_repo: RepoFixture):
  8. http_repo.import_json_file(dds.source_root / 'catalog.json')
  9. dds.repo_add(http_repo.url)
  10. tc_fname = 'gcc.tc.jsonc' if 'gcc' in dds.default_builtin_toolchain else 'msvc.tc.jsonc'
  11. tc = str(dds.test_dir / tc_fname)
  12. dds.build(toolchain=tc)
  13. proc.check_run((dds.build_dir / 'use-cryptopp').with_suffix(dds.exe_suffix))