summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/T20030/test1
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-02-17 15:04:07 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-03-01 16:23:10 -0500
commitc84dc5065bcf5c87dd3d10421c99aa6941754f57 (patch)
tree1cca772e5c8c82140dfe721a7114899f6e77a13c /testsuite/tests/driver/T20030/test1
parent547742682702f08041e518d68d752ef6329843c3 (diff)
downloadhaskell-c84dc5065bcf5c87dd3d10421c99aa6941754f57.tar.gz
driver: Properly add an edge between a .hs and its hs-boot file
As noted in #21071 we were missing adding this edge so there were situations where the .hs file would get compiled before the .hs-boot file which leads to issues with -j. I fixed this properly by adding the edge in downsweep so the definition of nodeDependencies can be simplified to avoid adding this dummy edge in. There are plenty of tests which seem to have these redundant boot files anyway so no new test. #21094 tracks the more general issue of identifying redundant hs-boot and SOURCE imports.
Diffstat (limited to 'testsuite/tests/driver/T20030/test1')
-rw-r--r--testsuite/tests/driver/T20030/test1/T20030_test1.stderr4
-rw-r--r--testsuite/tests/driver/T20030/test1/T20030_test1j.stderr4
2 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/driver/T20030/test1/T20030_test1.stderr b/testsuite/tests/driver/T20030/test1/T20030_test1.stderr
index 81b29def80..8ee2810d59 100644
--- a/testsuite/tests/driver/T20030/test1/T20030_test1.stderr
+++ b/testsuite/tests/driver/T20030/test1/T20030_test1.stderr
@@ -9,5 +9,5 @@
[ 9 of 13] Compiling E ( E.hs, E.o )
[10 of 13] Compiling I ( I.hs, I.o )
[11 of 13] Compiling J[boot] ( J.hs-boot, J.o-boot )
-[12 of 13] Compiling K ( K.hs, K.o )
-[13 of 13] Compiling J ( J.hs, J.o )
+[12 of 13] Compiling J ( J.hs, J.o )
+[13 of 13] Compiling K ( K.hs, K.o )
diff --git a/testsuite/tests/driver/T20030/test1/T20030_test1j.stderr b/testsuite/tests/driver/T20030/test1/T20030_test1j.stderr
index 81b29def80..8ee2810d59 100644
--- a/testsuite/tests/driver/T20030/test1/T20030_test1j.stderr
+++ b/testsuite/tests/driver/T20030/test1/T20030_test1j.stderr
@@ -9,5 +9,5 @@
[ 9 of 13] Compiling E ( E.hs, E.o )
[10 of 13] Compiling I ( I.hs, I.o )
[11 of 13] Compiling J[boot] ( J.hs-boot, J.o-boot )
-[12 of 13] Compiling K ( K.hs, K.o )
-[13 of 13] Compiling J ( J.hs, J.o )
+[12 of 13] Compiling J ( J.hs, J.o )
+[13 of 13] Compiling K ( K.hs, K.o )