summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 001230998..ecceaf504 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2160,8 +2160,12 @@ run_message_test: $(MESSAGE_TEST_TARGET)
$(VALGRIND) ./$(MESSAGE_TEST_TARGET) || exit 1; echo $* passed;
# Run the libvterm tests.
+# This currently doesn't work on Mac, only run on Linux for now.
test_libvterm:
- cd libvterm; $(MAKE) -f Makefile test CC="$(CC)"
+ @if test `uname` = "Linux"; then \
+ cd libvterm; $(MAKE) -f Makefile test \
+ CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"; \
+ fi
# Run individual OLD style test.
# These do not depend on the executable, compile it when needed.