diff options
author | Pepe Iborra <pepeiborra@gmail.com> | 2021-05-17 13:26:28 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-05-26 16:03:52 -0400 |
commit | 9faafb0aaff04e86a58b9e108f84618b12f2057c (patch) | |
tree | 653bf689feab7942bcfe49dab420a6c6f1fc3280 /testsuite/tests/driver/recomp021/all.T | |
parent | cdbce8fc22448837e53515946f16e9571e06f412 (diff) | |
download | haskell-9faafb0aaff04e86a58b9e108f84618b12f2057c.tar.gz |
Avoid fingerprinting the absolute path to the source file
This change aims to make source files relocatable w.r.t. to the interface files produced by the compiler.
This is so that we can download interface files produced by a cloud build system and then reuse them in a local ghcide session
catch another case of implicit includes
actually use the implicit quote includes
add another missing case
recomp020
test that .hi files are reused even if .hs files are moved to a new location
Added recomp021 to record behaviour with non implicit includes
add a note
additional pointer to the note
Mention #16956 in Note
Diffstat (limited to 'testsuite/tests/driver/recomp021/all.T')
-rw-r--r-- | testsuite/tests/driver/recomp021/all.T | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/driver/recomp021/all.T b/testsuite/tests/driver/recomp021/all.T new file mode 100644 index 0000000000..a2511ed6f7 --- /dev/null +++ b/testsuite/tests/driver/recomp021/all.T @@ -0,0 +1,4 @@ +# Recompilation test for when .hi files are up to date but .o files are +# not + +test('recomp021', [extra_files(['A.hs', 'B.hs'])], makefile_test, []) |