about summary refs log tree commit diff stats
path: root/build_and_test_until
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-03-14 01:00:48 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-03-14 01:00:48 -0700
commit2badd89a58b9666563746d71069abf16f05709ea (patch)
tree779c9feb243fc8d0f33051cd8323fd23f912f373 /build_and_test_until
parent8b095f802129f8c328a3a4dc3de4443890d34d59 (diff)
downloadmu-2badd89a58b9666563746d71069abf16f05709ea.tar.gz
2778 - fix all layers
Diffstat (limited to 'build_and_test_until')
-rwxr-xr-xbuild_and_test_until2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_and_test_until b/build_and_test_until
index d4fedaf2..15e0e4cd 100755
--- a/build_and_test_until
+++ b/build_and_test_until
@@ -9,4 +9,6 @@ make --no-print-directory enumerate/enumerate
 ./tangle/tangle $(./enumerate/enumerate --until $1 |grep -v '.mu$') |grep -v "^\s*//:" > mu.cc
 cat /dev/null $(./enumerate/enumerate --until $1 |grep '.mu$') > core.mu
 make --no-print-directory autogenerated_lists
+sleep 1  # Darwin is shit and otherwise thinks mu_bin is newer than the files it just generated when called from test_all_layers.
+         # All sorts of strange bugs ensue.
 CXX=${CXX:-clang++} CFLAGS=${CFLAGS:-"-O3 -fsanitize=undefined -Wno-tautological-constant-out-of-range-compare"} make ${2:-valgrind}