-
Notifications
You must be signed in to change notification settings - Fork 86
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
base: master
Are you sure you want to change the base?
Testsuite fixes #112
Conversation
snap-server.cabal
Outdated
@@ -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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
No description provided.