Add sanity check to not just see if the scheme always rebuilds
This commit is contained in:
parent
e29de416fb
commit
6f992f370f
@ -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])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user