summaryrefslogtreecommitdiff
path: root/testsuite/tests/hsc2hs
Commit message (Collapse)AuthorAgeFilesLines
* testsuite: Mark T10272 as broken on ARMv7Ben Gamari2019-12-171-3/+4
| | | | Due to #17556.
* Expunge #ifdef and #ifndef from the codebaseJohn Ericson2019-07-141-1/+1
| | | | | | | | These are unexploded minds as far as the linter is concerned. I don't want to hit in my MRs by mistake! I did this with `sed`, and then rolled back some changes in the docs, config.guess, and the linter itself.
* testsuite: Use makefile_testBen Gamari2019-01-301-11/+10
| | | | | This eliminates most uses of run_command in the testsuite in favor of the more structured makefile_test.
* Revert "Batch merge"Ben Gamari2019-01-301-10/+11
| | | | This reverts commit 76c8fd674435a652c75a96c85abbf26f1f221876.
* Batch mergeBen Gamari2019-01-301-11/+10
|
* Test that hsc2hs works with promoted data constructorsAndrew Martin2019-01-273-0/+20
|
* Update hsc2hs submodule to work around bug in response file handling.klebinger.andreas@gmx.at2018-10-224-0/+15
| | | | | | | | | | | | | | | | | | | | Summary: This works around #15758 by bumping hsc2hs. The new version includes support for response files independent of the boot compiler. Test Plan: ci, building formerly broken packages Reviewers: bgamari, RyanGlScott, ckoparkar Reviewed By: ckoparkar Subscribers: rwbarton, carter GHC Trac Issues: #15758 Differential Revision: https://phabricator.haskell.org/D5250
* Bump hsc2hs submoduleBen Gamari2017-03-151-2/+0
| | | | | Fixes #13388. Also updates the expected output for T12504, which previously contained a redundant LINE pragma.
* Remove clean_cmd and extra_clean usage from .T filesThomas Miedema2017-01-221-42/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | The `clean_cmd` and `extra_clean` setup functions don't do anything. Remove them from .T files. Created using https://github.com/thomie/refactor-ghc-testsuite. This diff is a test for the .T-file parser/processor/pretty-printer in that repository. find . -name '*.T' -exec ~/refactor-ghc-testsuite/Main "{}" \; Tests containing inline comments or multiline strings are not modified. Preparation for #12223. Test Plan: Harbormaster Reviewers: austin, hvr, simonmar, mpickering, bgamari Reviewed By: mpickering Subscribers: mpickering Differential Revision: https://phabricator.haskell.org/D3000 GHC Trac Issues: #12223
* Fix failing test T12504Tamar Christina2016-09-212-3/+2
| | | | | | | | | | | | | | | | | | | | Summary: Test T12504 does it's checking in the Makefile using grep but still specified an stdout. the stdout has the old output and would always fail. Since the stdout isn't needed, let's not check it. Test Plan: make test TEST=T12504 Reviewers: bgamari, austin, erikd, rcook Reviewed By: rcook Subscribers: thomie, #ghc_windows_task_force Differential Revision: https://phabricator.haskell.org/D2537 GHC Trac Issues: #12504
* Fixes #12504: Double-escape paths used to build call to hsc_lineRichard Cook2016-08-314-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | In outHsLine, paths passed to construct invocations of hsc_line must be escaped twice in order to generate a properly escaped string literal that will end up in the eventual LINE pragma emitted by this code. This is especially important on Windows paths, where backslashes would otherwise be treated as C escape sequences and result in the incorrect Windows paths. Adds test case to verify that hsc2hs properly escapes file paths in LINE pragmas Updates the hsc2hs submodule. See https://ghc.haskell.org/trac/ghc/ticket/12504 Reviewers: erikd, hvr, austin, bgamari, Phyx Reviewed By: erikd, Phyx Subscribers: thomie, Phyx, mpickering Differential Revision: https://phabricator.haskell.org/D2478 GHC Trac Issues: #12504
* T10272, T4340: Add 32-bit outputBen Gamari2016-04-064-0/+2
|
* Documentation, tests for hsc2hs's new #alignment macroRyanGlScott2015-12-197-0/+50
| | | | | | | | | | | | | | Adds two tests (one for Trac #4340 and one for Trac #10272), as well as advice on how to fix your code if `hsc2hs` emits warnings with GHC 8.0 due to a redefinition of `#alignment`. (I also put the advice in the [GHC 8.0 Migration Guide](https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0).) Reviewed By: thomie Differential Revision: https://phabricator.haskell.org/D1663 GHC Trac Issues: #4340, #10272
* Rename some numeric tests: nnnn -> TnnnnIan Lynagh2013-01-253-5/+5
|
* 3837 now passes on Windows: #3929 is fixedIan Lynagh2012-05-081-2/+1
|
* The hsc2hs tests now pass on Windows, and 3929 is closedIan Lynagh2011-10-251-8/+4
|
* Add a couple of hsc2hs testsIan Lynagh2011-10-256-4/+52
|
* Move tests from tests/ghc-regress/* to just tests/*David Terei2011-07-205-0/+55