[GHC] #16308: testsuite driver is sensitive to registration of multiple boot package versions

#16308: testsuite driver is sensitive to registration of multiple boot package versions -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 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: -------------------------------------+------------------------------------- Currently `testsuite/tests/Makefile` generates the `--rootdir` flags to be passed by `runtests.py` by looking at the output of `ghc-pkg list`. In the case that the user has recently bumped their submodules this list may contain multiple versions of the same package. This will then result in the same `library/$LIB/tests` directory being passed to the testsuite driver more than once. The testsuite driver will then squawk a "There are multiple tests with this name" warning. It took a few minutes for Simon and I to work out why this was. We should do better here (at least in Hadrian). Either by: * Teaching the testsuite driver to deduplicate the `--rootdir` list * Using a more robust source for the list of tested packages -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16308 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16308: testsuite driver is sensitive to registration of multiple boot package versions -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * cc: alpmestan (added) Comment: CCing Alp as we recently the discussed the state of the testsuite in Hadrian. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16308#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16308: testsuite driver is sensitive to registration of multiple boot package versions -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by alpmestan): Do we have such a "more robust source" ? I think we can easily deduplicate, but if we _do_ have such a source of `rootdir`s/packages to test, that would quite likely be simpler and a better choice in the long run. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16308#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC