Skip to content

Add a regression test for issue #3324#3432

Merged
dcoutts merged 2 commits intohaskell:masterfrom
dcoutts:issue-3324
May 15, 2016
Merged

Add a regression test for issue #3324#3432
dcoutts merged 2 commits intohaskell:masterfrom
dcoutts:issue-3324

Conversation

@dcoutts
Copy link
Contributor

@dcoutts dcoutts commented May 14, 2016

No description provided.

expectBuildFailed failure

-- add the missing dep, now it should work
appendFile (basedir </> testdir </> "q" </> "q.cabal")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to add a finally block restoring the q.cabal file to its original state, otherwise the test suite is not idempotent.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're quite right.

@dcoutts
Copy link
Contributor Author

dcoutts commented May 15, 2016

@23Skidoo not sure why it didn't fail on travis, it fails for me as expected.

  Regression tests
    issue #3324: FAIL (7.23s)
      expected to find q-0.1 in the Failed state, but it is actually in the Installedstate.

@23Skidoo
Copy link
Member

23Skidoo commented May 15, 2016

Looks like we were not running integration-tests2 at all on Travis. Enabled.

@23Skidoo
Copy link
Member

And now both build bots are broken.

Use base not haskell2010 package.
@dcoutts
Copy link
Contributor Author

dcoutts commented May 15, 2016

@23Skidoo this ought to fix it. Let's see...

@dcoutts dcoutts merged commit 336f85e into haskell:master May 15, 2016
@dcoutts
Copy link
Contributor Author

dcoutts commented May 15, 2016

@23Skidoo took the liberty to merge, since it fixes the build on master (and I'd addressed the review comments ok I think).

@23Skidoo
Copy link
Member

@dcoutts Great, thanks.

ekmett added a commit to ekmett/bound that referenced this pull request Jul 25, 2016
ekmett added a commit to ekmett/bound that referenced this pull request Aug 11, 2016
Revert "Hack to work with cabal HEAD in spite of haskell/cabal#3432"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants