X-Git-Url: http://andersk.mit.edu/gitweb/libyaml.git/blobdiff_plain/048095f030bdd05276e5b1c6d9f954f367aa0022..e5aadc734909797f25057a795be0053669c80f1b:/tests/run-test-suite/Makefile diff --git a/tests/run-test-suite/Makefile b/tests/run-test-suite/Makefile index 3d39edc..4b9570e 100644 --- a/tests/run-test-suite/Makefile +++ b/tests/run-test-suite/Makefile @@ -1,7 +1,6 @@ .PHONY: test GITHUB_ORG_URI := https://github.com/yaml TEST_SUITE_URL := $(GITHUB_ORG_URI)/yaml-test-suite -LIBYAML_DIR ?= $(PWD)/libyaml-parser-emitter/libyaml default: help @@ -10,11 +9,8 @@ help: @echo 'clean - Remove generated files' @echo 'help - Show help' -# Depends on parser and emitter but, building parser will also build emitter. -# Building twice makes things fail. Note: Some environments like on OS X, the -# shell resets the {DY,}LD_LIBRARY_PATH vars, so we work around it like so: -test: data src/libyaml-parser - (export MY_LD_LIBRARY_PATH=$(LIBYAML_DIR)/src/.libs; prove -lv test) +test: data + prove -lv test clean: rm -fr data @@ -22,9 +18,3 @@ clean: data: git clone $(TEST_SUITE_URL) $@ --branch=$@ -%/libyaml-parser %/libyaml-emitter: % - (cd $<; make clean build) - (cd $<; make clean build) - -libyaml-parser-emitter: - git clone $(GITHUB_ORG_URI)/$@ $@