From 6f992f370fbf4f8e9a5d7470ffe1d36f262070db Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Wed, 27 Feb 2019 15:29:20 +0100 Subject: [PATCH] Add sanity check to not just see if the scheme always rebuilds --- test/test_makefile_dependencies.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_makefile_dependencies.py b/test/test_makefile_dependencies.py index 0077fe30..3220be93 100644 --- a/test/test_makefile_dependencies.py +++ b/test/test_makefile_dependencies.py @@ -48,6 +48,10 @@ def check_makefile_dependencies(scheme_name, implementation_name, file): helpers.run_subprocess( ['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 helpers.run_subprocess(['touch', '-t', now.strftime(formatstring), file])