[GHC] #12197: test suite: implement a way to run tests with stage1 compiler
#12197: test suite: implement a way to run tests with stage1 compiler -------------------------------------+------------------------------------- Reporter: osa1 | Owner: Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- In Phab:D2334, #10382 and probably other tickets/patches, we want to run some tests on compiler compiled with `GhcWithInterpreter=NO`. One way to do that is to run those tests with stage1 compiler, but current test runner doesn't give us a way to do that. We should add tests for Phab:D2334 (and probably for #10382) once this is implemented. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12197> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12197: test suite: implement a way to run tests with stage1 compiler -------------------------------------+------------------------------------- Reporter: osa1 | Owner: thomie Type: task | Status: new Priority: normal | Milestone: Component: Test Suite | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2337 Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * owner: => thomie * differential: => Phab:D2337 * component: Compiler => Test Suite Comment: I implemented option 2 from ticket:10382#comment:21. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12197#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12197: test suite: implement a way to run tests with stage1 compiler -------------------------------------+------------------------------------- Reporter: osa1 | Owner: thomie Type: task | Status: new Priority: normal | Milestone: Component: Test Suite | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2337 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ömer Sinan Ağacan <omeragacan@…>): In [changeset:"930a525a5906fdd65ab0c3e804085d5875517a20/ghc" 930a525a/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="930a525a5906fdd65ab0c3e804085d5875517a20" Abort the build when a Core plugin pass is specified in stage1 compiler This also makes the behavior the same with frontend plugin errors -- frontend was failing with an exception (`CmdLineError`) while the simplifier was just ignoring plugins. Now we abort with `CmdLineError` in both cases with a slightly improved error message. Test Plan: - add tests (will add tests once #12197 is implemented) - validate (done) Reviewers: austin, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2334 GHC Trac Issues: #11690 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12197#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12197: test suite: implement a way to run tests with stage1 compiler -------------------------------------+------------------------------------- Reporter: osa1 | Owner: thomie Type: task | Status: new Priority: normal | Milestone: Component: Test Suite | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2337 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Thomas Miedema <thomasmiedema@…>): In [changeset:"d94c40561dde695e658169a3098642294f55c7e3/ghc" d94c405/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="d94c40561dde695e658169a3098642294f55c7e3" Testsuite: validate the tests/stage1 directory with the stage1 compiler * See `Note [Why is there no stage1 setup function?]`. * Move T2632 to the tests/stage1 directory (#10382). Reviewed by: ezyang, nomeata, bgamari Differential Revision: https://phabricator.haskell.org/D2341 GHC Trac Issues: #12197 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12197#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12197: test suite: implement a way to run tests with stage1 compiler -------------------------------------+------------------------------------- Reporter: osa1 | Owner: thomie Type: task | Status: closed Priority: normal | Milestone: 8.2.1 Component: Test Suite | Version: Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2337 Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * resolution: => fixed * milestone: => 8.2.1 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12197#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12197: test suite: implement a way to run tests with stage1 compiler -------------------------------------+------------------------------------- Reporter: osa1 | Owner: thomie Type: task | Status: closed Priority: normal | Milestone: 8.2.1 Component: Test Suite | Version: Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2341 Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * differential: Phab:D2337 => Phab:D2341 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12197#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC