X-Git-Url: http://andersk.mit.edu/gitweb/libyaml.git/blobdiff_plain/26b098f267b94476fa5592e99464d71b64fc0211..a70c7f36cb46a7fbda862389b4d602f5444ff3f2:/Makefile.am?ds=sidebyside diff --git a/Makefile.am b/Makefile.am index 1b47f33..c0cf7ce 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ ## Run `./bootstrap` to generate the "Makefile.in" files in this directory and ## the "$SUBDIRS" subdirectories. -SUBDIRS = include src . tests win32 +SUBDIRS = include src . tests EXTRA_DIST = README LICENSE CMakeLists.txt doc/doxygen.cfg @@ -9,23 +9,28 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = yaml-0.1.pc maintainer-clean-local: - -rm -f aclocal.m4 config.h.in configure config/* + rm -f aclocal.m4 config.h.in configure config/* -find ${builddir} -name Makefile.in -exec rm -f '{}' ';' distclean-local: - -rm -fr libyaml-test + rm -fr tests/run-test-suite + -git worktree prune .PHONY: bootstrap bootstrap: maintainer-clean ./bootstrap + ./configure + make test: all make -C tests check-TESTS -test-suite: libyaml-test - (export LIBYAML_DIR=$$PWD; make -C $< test) - -libyaml-test: - git clone https://github.com/yaml/$@ +test-suite: tests/run-test-suite + make -C $< test test-all: test test-suite + +tests/run-test-suite: + -git branch --track run-test-suite origin/run-test-suite + -git worktree prune + git worktree add $@ run-test-suite