From 4da50ef125dacffc0211a00a6f109bf8da7b3967 Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Fri, 3 Nov 2017 10:48:16 +0100 Subject: [PATCH] Summary: Export PERL5LIB for Alexine Try again, now using the current directory in the test target of the Makefile instead of changing run-tests. --- Makefile | 2 +- scripts/alexine/run-tests | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) 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"