summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-03 21:24:07 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-03 21:24:07 +0100
commit476268c387a05cfda9feaca8d1a5eeb535ed9f49 (patch)
tree534d40e043bc102eef48770cc5b3544ceccb21b0 /src/Makefile
parentc0d670ce16d0e148b7d39ac354571b3d284a0b53 (diff)
patch 8.2.2086: libvterm tests are only run on Linuxv8.2.2086
Problem: Libvterm tests are only run on Linux. Solution: Use static libraries. (Ozaki Kiichi, closes #7419)
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index 05c32a2a52..c30af8b295 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2293,11 +2293,10 @@ 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.
+# This works only on GNU make, not on BSD make.
test_libvterm:
- @if test `uname` = "Linux"; then \
- cd libvterm; $(MAKE) -f Makefile test \
- CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"; \
+ @if $(MAKE) --version 2>/dev/null | grep -qs "GNU Make"; then \
+ cd libvterm; $(MAKE) -f Makefile test CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"; \
fi
# Run individual OLD style test.