1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-26 09:21:28 +00:00

Add sanity check to not just see if the scheme always rebuilds

This commit is contained in:
Thom Wiggers 2019-02-27 15:29:20 +01:00
parent e29de416fb
commit 6f992f370f
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363

View File

@ -48,6 +48,10 @@ def check_makefile_dependencies(scheme_name, implementation_name, file):
helpers.run_subprocess( helpers.run_subprocess(
['touch', '-t', ago5.strftime(formatstring), libfile]) ['touch', '-t', ago5.strftime(formatstring), libfile])
# Sanity check: the scheme is up to date
helpers.run_subprocess(['make', '-q'], implementation.path(),
expected_returncode=0)
# touch the candidate .c / .h file # touch the candidate .c / .h file
helpers.run_subprocess(['touch', '-t', now.strftime(formatstring), file]) helpers.run_subprocess(['touch', '-t', now.strftime(formatstring), file])