Skip to content
Snippets Groups Projects
  • Dale Wijnand's avatar
    a6ada849
    validate.sh: Allow using short-version ghc binaries, like ghc-8.6 · a6ada849
    Dale Wijnand authored
    Previously this would work until CABAL_TESTSUITE_BDIR was needed, at
    which point it would fail because it looked for things under
    .../ghc-8.6/... while cabal v2-build actually put them in
    .../ghc-8.6.5/...
    
    Hard-coding "ghc" is unfortunate, but I didn't know if there was an easy
    way to avoid it.  I also didn't want to over-complicate it, until it was
    necessary.
    
    validate.sh isn't tested in CI so...
    [ci skip]
    a6ada849
    History
    validate.sh: Allow using short-version ghc binaries, like ghc-8.6
    Dale Wijnand authored
    Previously this would work until CABAL_TESTSUITE_BDIR was needed, at
    which point it would fail because it looked for things under
    .../ghc-8.6/... while cabal v2-build actually put them in
    .../ghc-8.6.5/...
    
    Hard-coding "ghc" is unfortunate, but I didn't know if there was an easy
    way to avoid it.  I also didn't want to over-complicate it, until it was
    necessary.
    
    validate.sh isn't tested in CI so...
    [ci skip]
Code owners
Assign users and groups as approvers for specific file changes. Learn more.