diff --git a/Makefile b/Makefile index f4732206..cd50e0bd 100644 --- a/Makefile +++ b/Makefile @@ -59,4 +59,4 @@ translations: $(TRANSLATIONS) jobs ?= 4 test: prove t/setup.pl - prove --jobs=$(jobs) --state=slow,save t + PERL5LIB=. prove --jobs=$(jobs) --state=slow,save t diff --git a/scripts/alexine/run-tests b/scripts/alexine/run-tests index bf9f7c9c..753a4679 100755 --- a/scripts/alexine/run-tests +++ b/scripts/alexine/run-tests @@ -30,10 +30,6 @@ OUT_PAGE='https://github.com/AlexDaniel/oddmuse-alexine-data/blob/master/output' WIKI_LOCATION='https://oddmuse.org/wiki/' USER_NAME='Alexine' -# Just in case Alexine can't find t/test.pl and the like. -# See http://www.perlmonks.org/?node_id=1076113 -export PERL5LIB="$ODDMUSE_TEST_LOCATION" - clean() { while popd &> /dev/null; do :; done # change directory back rmdir -- "$TEST_LOCK"