diff options
author | Ben Gamari <ben@well-typed.com> | 2021-03-03 14:01:35 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-03-04 23:17:36 -0500 |
commit | 6467a48e64ce5ccea29099cb89962e879cded91c (patch) | |
tree | 5a98bddc75604bbc02927c1d0e10dced7e8996bf /testsuite | |
parent | 4cdf8b5ef923e4b860b2d7e61d034817cb81ddbc (diff) | |
download | haskell-6467a48e64ce5ccea29099cb89962e879cded91c.tar.gz |
testsuite: Prevent T16318 from picking up .ghci
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.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/driver/T16318/Makefile | 2 |
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 |