]> andersk Git - libyaml.git/blobdiff - Makefile.am
Add `make test-all` to travis
[libyaml.git] / Makefile.am
index 4111fdb721a71b39236f7fdb16fe950a0f20810b..1b47f331f344eb5cde88d2ee9c884eea218c24da 100644 (file)
@@ -3,7 +3,7 @@
 
 SUBDIRS = include src . tests win32
 
-EXTRA_DIST = README LICENSE doc/doxygen.cfg
+EXTRA_DIST = README LICENSE CMakeLists.txt doc/doxygen.cfg
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = yaml-0.1.pc
@@ -12,7 +12,20 @@ maintainer-clean-local:
        -rm -f aclocal.m4 config.h.in configure config/*
        -find ${builddir} -name Makefile.in -exec rm -f '{}' ';'
 
+distclean-local:
+       -rm -fr libyaml-test
+
 .PHONY: bootstrap
 bootstrap: maintainer-clean
        ./bootstrap
 
+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-all: test test-suite
This page took 0.02678 seconds and 4 git commands to generate.