Skip to content

Commit eba12df

Browse files
committed
make tests $STACKYAML-aware, fix GHC 8.10 CI - part 2
1 parent 94fe5c2 commit eba12df

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export LANG = en_US.UTF-8
66
# which stack.yaml file (& ghc version) to use, can be overridden by STACK env var
77
STACKYAML ?= stack.yaml
88

9-
# used below and also in tests which run stack (eg large-output.test)
9+
# used below and also in tests which run stack
1010
STACKYAMLOPT = --stack-yaml=$(STACKYAML)
1111

1212
# the current base stack command
@@ -15,8 +15,10 @@ STACK = stack $(STACKYAMLOPT)
1515
# the shelltest executable built with current stack
1616
SHELLTESTEXE = $(shell $(STACK) path --local-install-root)/bin/shelltest
1717

18-
# the base shelltest command with common options
19-
SHELLTEST=$(SHELLTESTEXE) --exclude /_ -j16 --hide-successes
18+
# the base shelltest command with common options,
19+
# and the STACKYAMLOPT env var which helps any tests
20+
# which run stack themselves (eg large-output.test)
21+
SHELLTEST = STACKYAMLOPT=$(STACKYAMLOPT) $(SHELLTESTEXE) --exclude /_ -j16 --hide-successes
2022

2123
# standard targets
2224

0 commit comments

Comments
 (0)