.travis.yml | 2 +- Makefile | 9 ++++----- diff --git a/.travis.yml b/.travis.yml index d45fe563df3a923e431e17b86c17e524438f07ce..98366887b8961c7c97846d3f78882eb1d58348ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,4 +18,4 @@ - pip install --user cram - export SHELL=zsh script: - zsh --version - - make test + - make test ZDOTDIR=$ZDOTDIR diff --git a/Makefile b/Makefile index b9ea8967e0604381b3a755e4dc36f09f08cd0767..a217a6b34cab00fb99700b277932564903b7206b 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,15 @@ # Default, can be overridden using "make test ZDOTDIR=...". ZDOTDIR:=${CURDIR}/tests/ZDOTDIR - -# Export it, and make it absolute. -override export ZDOTDIR:=$(abspath $(ZDOTDIR)) +# Make it absolute. +override ZDOTDIR:=$(abspath $(ZDOTDIR)) TEST_SHELL:=zsh test: - cram --shell=$(TEST_SHELL) -v tests + ZDOTDIR=$(ZDOTDIR) cram --shell=$(TEST_SHELL) -v tests itest: - cram -i --shell=$(TEST_SHELL) tests + ZDOTDIR=$(ZDOTDIR) cram -i --shell=$(TEST_SHELL) tests # Run tests with all ZDOTDIRs. test_full: