Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

29 linhas
685 B

  1. """
  2. Checks that the archive library can be successfully built for every
  3. scheme/implementation.
  4. """
  5. import pqclean
  6. import helpers
  7. def test_compile_lib():
  8. for scheme in pqclean.Scheme.all_schemes():
  9. for implementation in scheme.implementations:
  10. if helpers.permit_test('compile_lib', implementation):
  11. yield check_compile_lib, implementation
  12. def check_compile_lib(implementation):
  13. helpers.make('clean', working_dir=implementation.path())
  14. helpers.make(working_dir=implementation.path())
  15. if __name__ == '__main__':
  16. try:
  17. import nose2
  18. nose2.main()
  19. except ImportError:
  20. import nose
  21. nose.runmodule()