summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2021-03-03 14:01:35 -0500
committerBen Gamari <ben@smart-cactus.org>2021-03-03 15:14:52 -0500
commit656786d5573929b12af8a83f84ae485d3e4bc167 (patch)
tree1333561e013e6dc4fe0127928dd640a85fa00b5f
parentdf74e95ae76b30a7c1a9b155a3e8d58eabd054eb (diff)
downloadhaskell-wip/fix-T16318.tar.gz
testsuite: Prevent T16318 from picking up .ghciwip/fix-T16318
Previously this test did nothing to prevent GHC from reading .ghci due to the `-e` arguments. Consequently it could fail due to multiple reloadings of DynFlags while evaluating .ghci.
-rw-r--r--testsuite/tests/driver/T16318/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/driver/T16318/Makefile b/testsuite/tests/driver/T16318/Makefile
index 40ff4f0854..b6566cf145 100644
--- a/testsuite/tests/driver/T16318/Makefile
+++ b/testsuite/tests/driver/T16318/Makefile
@@ -6,6 +6,6 @@ test_pe = test-package-environment
T16318:
"$(GHC_PKG)" latest base > $(test_pe)
- "$(TEST_HC)" $(TEST_HC_OPTS) -v1 -package-env $(test_pe) -e "putStrLn \"Hello\"" > out 2>&1
+ "$(TEST_HC)" $(TEST_HC_OPTS) -v1 -ignore-dot-ghci -package-env $(test_pe) -e "putStrLn \"Hello\"" > out 2>&1
C=`cat out | grep "Loaded package environment" -c` ; \
if [ $$C != "1" ]; then false; fi