Remove old license check and reduce re-building
This commit is contained in:
parent
e4c368ee49
commit
ba359473b9
@ -8,7 +8,7 @@ matrix:
|
||||
os: linux
|
||||
compiler: gcc
|
||||
env:
|
||||
- MAKETARGET="test-all tidy-all check-format check-metadata check-license-files"
|
||||
- MAKETARGET="test-all tidy-all check-format check-metadata"
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
|
8
Makefile
8
Makefile
@ -175,14 +175,6 @@ run-sanitizer-all: sanitizer-all
|
||||
done
|
||||
@echo Tests completed
|
||||
|
||||
.PHONY: check-license-files
|
||||
check-license-files:
|
||||
@echo Checking that LICENSE files exist
|
||||
@for scheme in $(ALL_SCHEMES); do \
|
||||
echo Checking for $$scheme/clean/LICENSE;\
|
||||
test -f $$scheme/clean/LICENSE || exit 1 ;\
|
||||
done
|
||||
|
||||
.PHONY: test-all
|
||||
test-all: run-functest-all run-valgrind-all run-sanitizer-all run-testvectors-all
|
||||
|
||||
|
@ -13,6 +13,10 @@ def test_compile_lib():
|
||||
|
||||
def check_compile_lib(scheme_name, implementation_name):
|
||||
implementation = pqclean.Implementation.by_name(scheme_name, implementation_name)
|
||||
helpers.run_subprocess(
|
||||
['make', 'clean'],
|
||||
implementation.path()
|
||||
)
|
||||
helpers.run_subprocess(
|
||||
['make'],
|
||||
implementation.path()
|
||||
|
@ -13,10 +13,6 @@ def test_functest():
|
||||
|
||||
def check_functest(scheme_name, implementation_name):
|
||||
implementation = pqclean.Implementation.by_name(scheme_name, implementation_name)
|
||||
helpers.run_subprocess(
|
||||
['make', 'clean', 'TYPE=' + implementation.scheme.type, 'SCHEME=' + scheme_name, 'IMPLEMENTATION=' + implementation_name],
|
||||
os.path.join('..', 'test')
|
||||
)
|
||||
helpers.run_subprocess(
|
||||
['make', 'TYPE=' + implementation.scheme.type, 'SCHEME=' + scheme_name, 'IMPLEMENTATION=' + implementation_name],
|
||||
os.path.join('..', 'test')
|
||||
|
@ -16,10 +16,6 @@ def test_symbol_namespace():
|
||||
|
||||
def check_symbol_namespace(scheme_name, implementation_name):
|
||||
implementation = pqclean.Implementation.by_name(scheme_name, implementation_name)
|
||||
helpers.run_subprocess(
|
||||
['make', 'clean'],
|
||||
implementation.path()
|
||||
)
|
||||
helpers.run_subprocess(
|
||||
['make'],
|
||||
implementation.path()
|
||||
|
Loading…
Reference in New Issue
Block a user