Reference implementations of PQC
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.
 
 
 
 

29 regels
613 B

  1. """
  2. Checks that a Makefile and a Makefile.Microsoft_nmake file is present for every
  3. implementation of the specified scheme.
  4. """
  5. import os
  6. import pytest
  7. import helpers
  8. import pqclean
  9. @pytest.mark.parametrize(
  10. 'implementation',
  11. pqclean.Scheme.all_implementations(),
  12. ids=str,
  13. )
  14. @helpers.filtered_test
  15. def test_makefiles_present(implementation):
  16. p1 = os.path.join(implementation.path(), 'Makefile')
  17. p2 = os.path.join(implementation.path(), 'Makefile.Microsoft_nmake')
  18. assert(os.path.isfile(p1) and os.path.isfile(p2))
  19. if __name__ == '__main__':
  20. import sys
  21. pytest.main(sys.argv)