Mercurial > vim
comparison src/Makefile @ 23080:8eed19bd0235 v8.2.2086
patch 8.2.2086: libvterm tests are only run on Linux
Commit: https://github.com/vim/vim/commit/476268c387a05cfda9feaca8d1a5eeb535ed9f49
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 3 21:24:07 2020 +0100
patch 8.2.2086: libvterm tests are only run on Linux
Problem: Libvterm tests are only run on Linux.
Solution: Use static libraries. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/7419)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 03 Dec 2020 21:30:04 +0100 |
parents | 2cc0de1e05a6 |
children | 82a8abc75070 |
comparison
equal
deleted
inserted
replaced
23079:56e11a681a56 | 23080:8eed19bd0235 |
---|---|
2291 | 2291 |
2292 run_message_test: $(MESSAGE_TEST_TARGET) | 2292 run_message_test: $(MESSAGE_TEST_TARGET) |
2293 $(VALGRIND) ./$(MESSAGE_TEST_TARGET) || exit 1; echo $* passed; | 2293 $(VALGRIND) ./$(MESSAGE_TEST_TARGET) || exit 1; echo $* passed; |
2294 | 2294 |
2295 # Run the libvterm tests. | 2295 # Run the libvterm tests. |
2296 # This currently doesn't work on Mac, only run on Linux for now. | 2296 # This works only on GNU make, not on BSD make. |
2297 test_libvterm: | 2297 test_libvterm: |
2298 @if test `uname` = "Linux"; then \ | 2298 @if $(MAKE) --version 2>/dev/null | grep -qs "GNU Make"; then \ |
2299 cd libvterm; $(MAKE) -f Makefile test \ | 2299 cd libvterm; $(MAKE) -f Makefile test CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"; \ |
2300 CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"; \ | |
2301 fi | 2300 fi |
2302 | 2301 |
2303 # Run individual OLD style test. | 2302 # Run individual OLD style test. |
2304 # These do not depend on the executable, compile it when needed. | 2303 # These do not depend on the executable, compile it when needed. |
2305 $(SCRIPTS_TINY): | 2304 $(SCRIPTS_TINY): |