Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a regression test for issue #3324 #3432

Merged
merged 2 commits into from
May 15, 2016
Merged

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