about summary refs log tree commit diff stats
path: root/build_and_test_until
diff options
context:
space:
mode:
Diffstat (limited to 'build_and_test_until')
-rwxr-xr-xbuild_and_test_until4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_and_test_until b/build_and_test_until
index 96eb9e43..b86249c6 100755
--- a/build_and_test_until
+++ b/build_and_test_until
@@ -10,7 +10,7 @@ make --no-print-directory enumerate/enumerate
 cat /dev/null $(./enumerate/enumerate --until $1 |grep '.mu$') > core.mu
 make --no-print-directory autogenerated_lists
 set +v
-if [ `uname` == "Darwin" ]
+if [ `uname` = "Darwin" ]
 then
   # Darwin is shit and otherwise thinks mu_bin is newer than the files it just
   # generated when called from test_all_layers.
@@ -20,5 +20,5 @@ then
   CFLAGS=${CFLAGS:-"-g -O3"} make test
 else
   set -v
-  CXX=${CXX:-clang++} CFLAGS=${CFLAGS:-"-O3 -fsanitize=undefined -Wno-tautological-constant-out-of-range-compare"} make ${2:-valgrind}
+  CXX=${CXX:-clang++} CFLAGS=${CFLAGS:-"-g -O3 -fsanitize=undefined -Wno-tautological-constant-out-of-range-compare"} make ${2:-valgrind}
 fi