forked from github/kensanata.oddmuse
Summary: Export PERL5LIB for Alexine
Try again, now using the current directory in the test target of the Makefile instead of changing run-tests.
This commit is contained in:
2
Makefile
2
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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user