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

Testsuite fixes #112

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

kgardas
Copy link

@kgardas kgardas commented Mar 22, 2018

No description provided.

@@ -244,7 +244,8 @@ Test-suite testsuite
parallel >= 3 && < 4,
test-framework >= 0.8.0.3 && < 0.9,
test-framework-hunit >= 0.2.7 && < 0.4,
test-framework-quickcheck2 >= 0.2.12.1 && < 0.4
test-framework-quickcheck2 >= 0.2.12.1 && < 0.4,
Cabal
Copy link
Member

Choose a reason for hiding this comment

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

Why is this new dependency here? I don't see any code changes.

Copy link
Author

Choose a reason for hiding this comment

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

IIRC https-streams complained about missing cabal lib. I've retested and the result of:

cabal sandbox init
cabal install --dependencies-only --enable-tests -fbuild-testserver -fopenssl

is this error message:

Configuring http-streams-0.8.5.5...
Failed to install http-streams-0.8.5.5
Build log ( /home/karel/git/snap-server/.cabal-sandbox/logs/http-streams-0.8.5.5.log ):
cabal: Error: some packages failed to install:
http-streams-0.8.5.5 failed during the configure step. The exception was:
user error (The package 'http-streams' requires Cabal library version -any &&
>=1.24 but no suitable version is installed.)

but well, indeed, adding Cabal there does not solve the issue. I've needed to perform separate

cabal install Cabal==2.0.1.1

to fix this and complete installation of dependencies. Then configure and cabal build run fine.
So I'll commit cleanup in a minute. Sorry for this and thanks for catching this.

@@ -516,7 +519,8 @@ Executable snap-test-server
time,
transformers,
unix-compat,
vector
vector,
filepath
Copy link
Member

Choose a reason for hiding this comment

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

Oops, here's another new dependency.

@mightybyte mightybyte mentioned this pull request Apr 4, 2018
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