Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

28 řádky
719 B

  1. """
  2. Checks that the archive library can be successfully built for every
  3. scheme/implementation.
  4. """
  5. import pytest
  6. import helpers
  7. import pqclean
  8. @pytest.mark.parametrize(
  9. 'implementation,test_dir,impl_dir, init, destr',
  10. [(impl, *helpers.isolate_test_files(impl.path(), 'test_functest_'))
  11. for impl in pqclean.Scheme.all_supported_implementations()],
  12. ids=[str(impl) for impl in pqclean.Scheme.all_supported_implementations()],
  13. )
  14. @helpers.filtered_test
  15. def test_compile_lib(implementation, test_dir, impl_dir, init, destr):
  16. init()
  17. helpers.make('clean', working_dir=impl_dir)
  18. helpers.make(working_dir=impl_dir)
  19. destr()
  20. if __name__ == '__main__':
  21. import sys
  22. pytest.main(sys.argv)