diff options
author | Ingy döt Net <ingy@ingy.net> | 2020-06-01 12:33:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 21:33:39 +0200 |
commit | 00780e83d2a1fe5f8eb9adc1119f285c98ee7226 (patch) | |
tree | 59c22f6c118753946b0838dcbd18e9a52310775c /Makefile.am | |
parent | 1008696708b56c27709e6948b419d44e0f1bfb0d (diff) | |
download | libyaml-git-00780e83d2a1fe5f8eb9adc1119f285c98ee7226.tar.gz |
A couple patches to improve test suite support (#191)
* Need newer bash and make for Macos testing
* Allow override of the run-test-suite branch
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 95f2faa..45fc485 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,6 +5,8 @@ SUBDIRS = include src . tests EXTRA_DIST = Changes ReadMe.md License CMakeLists.txt doc/doxygen.cfg +LIBYAML_TEST_SUITE_RUN_BRANCH ?= run-test-suite + pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = yaml-0.1.pc @@ -31,9 +33,9 @@ test-suite: tests/run-test-suite all test-all: test test-suite tests/run-test-suite: - -git branch --track run-test-suite origin/run-test-suite + -git branch --track $(LIBYAML_TEST_SUITE_RUN_BRANCH) origin/$(LIBYAML_TEST_SUITE_RUN_BRANCH) -git worktree prune - git worktree add $@ run-test-suite + git worktree add $@ $(LIBYAML_TEST_SUITE_RUN_BRANCH) packaging: -git branch --track $@ origin/$@ |