mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 15:39:07 +00:00
Remove old license check and reduce re-building
This commit is contained in:
parent
e4c368ee49
commit
ba359473b9
@ -8,7 +8,7 @@ matrix:
|
|||||||
os: linux
|
os: linux
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env:
|
env:
|
||||||
- MAKETARGET="test-all tidy-all check-format check-metadata check-license-files"
|
- MAKETARGET="test-all tidy-all check-format check-metadata"
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
|
8
Makefile
8
Makefile
@ -175,14 +175,6 @@ run-sanitizer-all: sanitizer-all
|
|||||||
done
|
done
|
||||||
@echo Tests completed
|
@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
|
.PHONY: test-all
|
||||||
test-all: run-functest-all run-valgrind-all run-sanitizer-all run-testvectors-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):
|
def check_compile_lib(scheme_name, implementation_name):
|
||||||
implementation = pqclean.Implementation.by_name(scheme_name, implementation_name)
|
implementation = pqclean.Implementation.by_name(scheme_name, implementation_name)
|
||||||
|
helpers.run_subprocess(
|
||||||
|
['make', 'clean'],
|
||||||
|
implementation.path()
|
||||||
|
)
|
||||||
helpers.run_subprocess(
|
helpers.run_subprocess(
|
||||||
['make'],
|
['make'],
|
||||||
implementation.path()
|
implementation.path()
|
||||||
|
@ -13,10 +13,6 @@ def test_functest():
|
|||||||
|
|
||||||
def check_functest(scheme_name, implementation_name):
|
def check_functest(scheme_name, implementation_name):
|
||||||
implementation = pqclean.Implementation.by_name(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(
|
helpers.run_subprocess(
|
||||||
['make', 'TYPE=' + implementation.scheme.type, 'SCHEME=' + scheme_name, 'IMPLEMENTATION=' + implementation_name],
|
['make', 'TYPE=' + implementation.scheme.type, 'SCHEME=' + scheme_name, 'IMPLEMENTATION=' + implementation_name],
|
||||||
os.path.join('..', 'test')
|
os.path.join('..', 'test')
|
||||||
|
@ -16,10 +16,6 @@ def test_symbol_namespace():
|
|||||||
|
|
||||||
def check_symbol_namespace(scheme_name, implementation_name):
|
def check_symbol_namespace(scheme_name, implementation_name):
|
||||||
implementation = pqclean.Implementation.by_name(scheme_name, implementation_name)
|
implementation = pqclean.Implementation.by_name(scheme_name, implementation_name)
|
||||||
helpers.run_subprocess(
|
|
||||||
['make', 'clean'],
|
|
||||||
implementation.path()
|
|
||||||
)
|
|
||||||
helpers.run_subprocess(
|
helpers.run_subprocess(
|
||||||
['make'],
|
['make'],
|
||||||
implementation.path()
|
implementation.path()
|
||||||
|
Loading…
Reference in New Issue
Block a user