[commit: ghc] ghc-8.2: testsuite: Fix cabal01 test (379c07b)

git at git.haskell.org git at git.haskell.org
Fri Jun 23 18:52:00 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.2
Link       : http://ghc.haskell.org/trac/ghc/changeset/379c07bb69d0ad0249466737bcd3efd50f3bd966/ghc

>---------------------------------------------------------------

commit 379c07bb69d0ad0249466737bcd3efd50f3bd966
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Fri Jun 23 11:36:38 2017 -0400

    testsuite: Fix cabal01 test
    
    The other-modules field listed things that weren't in fact modules,
    causing this test to fail. See Cabal #4567.
    
    Test Plan: Validate
    
    Reviewers: hvr, austin
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3665
    
    (cherry picked from commit e13edee31780704e521f764485a372766dd54daa)


>---------------------------------------------------------------

379c07bb69d0ad0249466737bcd3efd50f3bd966
 testsuite/tests/cabal/cabal01/test.cabal | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuite/tests/cabal/cabal01/test.cabal b/testsuite/tests/cabal/cabal01/test.cabal
index f49d874..fe66d70 100644
--- a/testsuite/tests/cabal/cabal01/test.cabal
+++ b/testsuite/tests/cabal/cabal01/test.cabal
@@ -7,10 +7,10 @@ Extensions: ForeignFunctionInterface
 Build-depends: base>=1.0
 
 Executable: testA
-Other-Modules: A, MainA
+Other-Modules: A
 Main-is: MainA.hs
 Extensions: OverlappingInstances
 
 Executable: testB
-Other-Modules: B.A, B.MainB
+Other-Modules: B.A
 Main-is: B/MainB.hs



More information about the ghc-commits mailing list