[GHC] #14181: make test WAY=xxx broken

#14181: make test WAY=xxx broken -------------------------------------+------------------------------------- Reporter: angerman | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 8.2.1 Keywords: | Operating System: Unknown/Multiple Architecture: x86_64 | Type of failure: None/Unknown (amd64) | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- It seems like running {{{ make test WAY=someWay }}} is broken. Looking at the `runtest.py`, it seems that we parse the arguments to the test driver before reading the configuration file (e.g. `config/ghc`), and thus the `--way` flags arguments are not available. E.g. the way options get populated, once the `--config-file` argument is processed. But the argument parser seems to be eager and as such the handling of the `--config-file` happens *after* all of the arguments have been parsed. Therefore the set of available `--way`s are always the empty set. I don't know if python2 was lazy here. But with `python3` using `--way` seems impossible. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14181 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14181: make test WAY=xxx broken -------------------------------------+------------------------------------- Reporter: angerman | Owner: bgamari Type: bug | Status: new Priority: normal | Milestone: 8.4.1 Component: Test Suite | Version: 8.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D3917 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * owner: (none) => bgamari * differential: => Phab:D3917 * version: 8.2.1 => 8.3 * milestone: => 8.4.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14181#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14181: make test WAY=xxx broken -------------------------------------+------------------------------------- Reporter: angerman | Owner: bgamari Type: bug | Status: closed Priority: normal | Milestone: 8.4.1 Component: Test Suite | Version: 8.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D3917 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14181#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14181: make test WAY=xxx broken
-------------------------------------+-------------------------------------
Reporter: angerman | Owner: bgamari
Type: bug | Status: closed
Priority: normal | Milestone: 8.4.1
Component: Test Suite | Version: 8.3
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture: x86_64
| (amd64)
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D3917
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari
participants (1)
-
GHC