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.

13 lines
400B

  1. from tests import DDS
  2. from dds_ci import proc
  3. def test_get_build_use_libsodium(dds: DDS):
  4. dds.catalog_import(dds.source_root / 'catalog.json')
  5. tc_fname = 'gcc.tc.jsonc' if 'gcc' in dds.default_builtin_toolchain else 'msvc.tc.jsonc'
  6. tc = str(dds.test_dir / tc_fname)
  7. dds.build(toolchain=tc)
  8. proc.check_run(
  9. (dds.build_dir / 'use-libsodium').with_suffix(dds.exe_suffix))