-
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
Open
kgardas
wants to merge
4
commits into
snapframework:master
Choose a base branch
from
kgardas:testsuite-fixes
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Testsuite fixes #112
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
9c8f093
fix compilation of testsuite on Ubuntu 16.04 with its GHC 7.10.x comp…
kgardas 9e8f593
fix testsuite run script to find the right testsuite binary easily
kgardas 141f32f
fix README.md with information about how to build the testsuite
kgardas 0188977
remove unneeded Cabal dependency which were added in previous commit
kgardas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
other-extensions: | ||
BangPatterns, | ||
|
@@ -495,6 +496,9 @@ Executable snap-test-server | |
System.SendFile, | ||
System.SendFile.FreeBSD | ||
|
||
if !impl(ghc >= 8.0) | ||
build-depends: semigroups >= 0.16 && < 0.19 | ||
|
||
build-depends: | ||
attoparsec, | ||
base, | ||
|
@@ -516,7 +520,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 commentThe reason will be displayed to describe this comment to others. Learn more. Oops, here's another new dependency. |
||
|
||
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields | ||
-fno-warn-unused-do-bind -threaded -rtsopts | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
is this error message:
but well, indeed, adding Cabal there does not solve the issue. I've needed to perform separate
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.