summaryrefslogtreecommitdiff
path: root/testsuite/tests/programs
Commit message (Collapse)AuthorAgeFilesLines
* Fix more typos, via an improved Levenshtein-style correctorBrian Wignall2020-01-123-6/+6
|
* Fix typos, via a Levenshtein-style correctorBrian Wignall2020-01-041-5/+5
|
* Fix more typosBrian Wignall2019-12-022-2/+2
|
* Fix typos, using Wikipedia list of common typosBrian Wignall2019-11-282-3/+3
|
* Whitespace forward compatibility for proposal #229Vladislav Zavialov2019-10-301-2/+2
| | | | | | | | GHC Proposal #229 changes the lexical rules of Haskell, which may require slight whitespace adjustments in certain cases. This patch changes formatting in a few places in GHC and its testsuite in a way that enables it to compile under the proposed rules.
* testsuite: Unbreak galois_raytrace on i386Ben Gamari2019-06-121-5/+0
| | | | | | | galois_raytrace was previously broken on i386 due to use of x87 arithmethic on that platform. However, 42504f4a575395a35eec5c3fd7c9ef6e2b54e68e removes x87 support; this resulted in an unexpected pass. Unmark this test as broken.
* testsuite: Fix omit_ways usageBen Gamari2019-06-121-1/+1
| | | | omit_ways expects a list but this was broken in several cases.
* base: Remove `Monad(fail)` method and reexport `MonadFail(fail)` insteadHerbert Valerio Riedel2019-03-221-1/+2
| | | | | | As per https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail Coauthored-by: Ben Gamari <ben@well-typed.com>
* TypofixesGabor Greif2017-09-272-4/+4
|
* A bunch of typofixesGabor Greif2017-09-261-1/+1
|
* Fix typos in diagnostics, testsuite and commentsGabor Greif2017-09-074-4/+4
|
* Remove unneeded reqlibs for mtl and parsec in the GHC testsuiteRyan Scott2017-08-171-1/+1
| | | | | | | | | | | | | | | | Now that `mtl` and `parsec` are boot libraries, there's no need to qualify various tests in the testsuite with `reqlib('mtl')` or `reqlib('parsec')`. Test Plan: make test TEST="T4809 tcfail126 T4355 tc232 tc223 tc220 tc217 tc183 T5303 DoParamM qq005 qq006 galois_raytrace T1074 mod133 T3787 T4316 prog011 drvfail006 drvfail008" Reviewers: bgamari, austin Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3855
* Fix note references and some typosGabor Greif2017-07-261-1/+1
|
* A few typos [ci skip]Gabor Greif2017-06-021-2/+2
|
* Typos in comments (notes too) [ci skip]Gabor Greif2017-03-241-3/+3
|
* tests: remove extra_files.py (#12223)Reid Barton2017-02-2629-29/+57
| | | | | | | | | | | | The script I used is included as testsuite/driver/kill_extra_files.py, though at this point it is for mostly historical interest. Some of the tests in libraries/hpc relied on extra_files.py, so this commit includes an update to that submodule. One test in libraries/process also relies on extra_files.py, but we cannot update that submodule so easily, so for now we special-case it in the test driver.
* Typos in manual, tests and commentsGabor Greif2017-02-202-2/+2
|
* Typos [ci skip]Gabor Greif2017-02-151-2/+2
|
* Tweaks and typos in manual, note refs, commentsGabor Greif2017-02-093-3/+3
|
* Remove clean_cmd and extra_clean usage from .T filesThomas Miedema2017-01-2227-159/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Typos in comments (and in a test)Gabor Greif2017-01-092-2/+2
|
* Testsuite: tabs -> spaces [skip ci]Thomas Miedema2016-06-2025-742/+742
|
* Testsuite: benign test fixesThomas Miedema2016-04-281-1/+7
|
* Testsuite: fixup lots of testsThomas Miedema2016-04-262-10/+18
| | | | | | | | | These aren't run very often, because they require external libraries. https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Running#AdditionalPackages maessen-hashtab still doesn't compile, QuickCheck api changed. Update submodule hpc.
* Typos in comments, etc.Gabor Greif2016-02-262-2/+2
|
* Testsuite: delete empty files [skip ci]Thomas Miedema2016-02-251-0/+0
|
* Another batch of typo fixes in non-codeGabor Greif2016-02-112-2/+2
|
* testsuite/joao-circular: Clean up test resultsBen Gamari2015-12-272-1/+3
| | | | | | | | | | | | | | | Eliminate redundant pattern which resulted in warning. Also increase the compile timeout multiplier since this test tends to take quite a while to build. I have seen it fail numerous times during Harbormaster builds and have never seen it pass on ARM. Test Plan: Validate Reviewers: austin, thomie Reviewed By: thomie Differential Revision: https://phabricator.haskell.org/D1699
* Some more typos in commentsGabor Greif2015-12-141-1/+1
|
* Check options before warning about source imports.Alex Rozenshteyn2015-08-221-2/+0
| | | | | | | | | | | | Summary: Fixes T10637 Reviewers: austin, bgamari, thomie Subscribers: dfordivam, simonpj, thomie Differential Revision: https://phabricator.haskell.org/D1157 GHC Trac Issues: #10637
* Typos in comments [skip ci]Gabor Greif2015-08-032-2/+2
|
* Typos in comments and stringsGabor Greif2015-07-301-1/+1
| | | | | Note: the haddock comment in TyCon.hs seems to be garbled syntactically and grammatically
* Testsuite: delete remaining only_compiler_types(['ghc']) setupsThomas Miedema2015-07-142-3/+1
| | | | | No point in pretending other compilers can use the GHC testsuite. This makes the *.T files a bit shorter.
* Remove Hugs specific test setups (omit_compiler_type)Thomas Miedema2015-07-066-12/+2
|
* Fix a couple of tests for GHCi/-O* (Trac #10052)Sergei Trofimovich2015-06-201-0/+1
| | | | | | | Tests use unboxed types (or optimizer gets to them), those can't be handled by ghci. Fixed by using -fobject-code. Signed-off-by: Sergei Trofimovich <siarheit@google.com>
* Testsuite: delete expect_fail setups for hugsThomas Miedema2015-06-091-2/+1
| | | | | | This makes it easier to grep for expect_fail in the tests directory. Differential Revision: https://phabricator.haskell.org/D964
* Typo fixes (mostly in comments)Gabor Greif2015-04-301-3/+3
|
* Typos in error messages and in commentsGabor Greif2015-04-101-1/+1
|
* Debug test case and test suite wayPeter Wortmann2014-12-161-1/+3
| | | | | | | | | | | | Adds a test way for debug (-g -dannot-lint) as well as a test covering basic source tick functionality. The debug way fails for a number of test cases because of annotation linting: Tracing simplification (e.g. rule firings) will see duplicated output, and sometimes expression matching might take so long that the test case timeouts. We blacklist these tests. (From Phabricator D169)
* testsuite: fix seward-space-leak build aganst Prelude/Main 'traverse' clashSergei Trofimovich2014-10-061-0/+2
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* Delete all /* ! __GLASGOW_HASKELL__ */ codeThomas Miedema2014-09-231-37/+31
| | | | | | | | | | | | | | | | | Summary: ``` git grep -l '\(#ifdef \|#if defined\)(\?__GLASGOW_HASKELL__)\?' ``` Test Plan: validate Reviewers: rwbarton, hvr, austin Reviewed By: rwbarton, hvr, austin Subscribers: rwbarton, simonmar, ezyang, carter Differential Revision: https://phabricator.haskell.org/D218
* Use U+2018 instead of U+201B quote mark in compiler messagesHerbert Valerio Riedel2014-02-251-1/+1
| | | | | | | This matches GCC's choice of Unicode quotation marks (i.e. U+2018 and U+2019) and therefore looks more familiar on the console. This addresses #2507. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Update outputs following the unicode quote change in GHC's outputIan Lynagh2013-02-241-1/+1
|
* More helper conversionsIan Lynagh2013-02-1129-29/+29
|
* Convert more helper functionsIan Lynagh2013-02-111-1/+1
|
* Pass the test name to the test optionsIan Lynagh2013-02-071-1/+1
| | | | | | | | This allows them to give framework failures. I also had to change how setTestOpts works. Now, rather than applying the options to the directory's "default options", it just stores the options to be applied for each test (i.e. once we know the test name).
* Fix failures in the full testsuitePaolo Capriotti2012-07-272-1/+5
|
* Add a type signature for a function with an ambiguous typeSimon Peyton Jones2012-07-211-0/+14
| | | | | | | | | | There's a comment with visit_PPSArgs to explain. GHC was rightfully rejecting visit_PPS as having an ambiguous type. And it does! It worked before because the ambiguity involved only standard classes and hence was resolved. (I suppose this could be a warning instead. But I'm fixing the test anyway.)
* Fix some more written-but-not-cleaned filesIan Lynagh2011-09-041-1/+1
|
* Fixed importsDaniel Fischer2011-09-038-14/+10
| | | | Removed some redundant imports and changed others from H98 to hierarchical modules.