-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the test suite less awk-ward (#419)
This simplifies the design of the test suite by: 1. Removing the use of `awk`, as it is not needed, and 2. Remove the use of `.ghcXX.template` files in favor of ordinary `.golden` files. This allows us to replace the current tailor-made (and buggy) `tasty-golden` setup with a more conventional one and delete lots of code in the process. I've also made an effort to clean up the documentation in `tests/README.md` and the Notes in `SingletonsTestSuiteUtils` to better reflect the current design. Fixes #417.
- Loading branch information
1 parent
1e842fd
commit 4b5a9c8
Showing
110 changed files
with
73 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ tags | |
|
||
# Other files | ||
*.actual | ||
*.golden | ||
Main | ||
|
||
# cabal sandboxes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,16 +10,15 @@ maintainer: Ryan Scott <[email protected]> | |
bug-reports: https://github.com/goldfirere/singletons/issues | ||
stability: experimental | ||
tested-with: GHC == 8.8.1 | ||
extra-source-files: README.md, CHANGES.md, | ||
tests/compile-and-dump/buildGoldenFiles.awk, | ||
extra-source-files: README.md, CHANGES.md, tests/README.md, | ||
tests/compile-and-dump/GradingClient/*.hs, | ||
tests/compile-and-dump/InsertionSort/*.hs, | ||
tests/compile-and-dump/Promote/*.hs, | ||
tests/compile-and-dump/Singletons/*.hs | ||
tests/compile-and-dump/GradingClient/*.ghc88.template, | ||
tests/compile-and-dump/InsertionSort/*.ghc88.template, | ||
tests/compile-and-dump/Promote/*.ghc88.template, | ||
tests/compile-and-dump/Singletons/*.ghc88.template | ||
tests/compile-and-dump/GradingClient/*.golden, | ||
tests/compile-and-dump/InsertionSort/*.golden, | ||
tests/compile-and-dump/Promote/*.golden, | ||
tests/compile-and-dump/Singletons/*.golden | ||
license: BSD3 | ||
license-file: LICENSE | ||
build-type: Custom | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.