-
Notifications
You must be signed in to change notification settings - Fork 841
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
145 additions
and
81 deletions.
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
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
import StackTest | ||
|
||
main :: IO () | ||
main = stack ["build", "SHA"] | ||
main = do | ||
stack ["build", "async"] | ||
stackErr ["build", "zlib-bindings"] | ||
stack ["build", "--stack-yaml", "stack-modify-lts.yaml", "async"] | ||
stackErr ["build", "--stack-yaml", "stack-modify-lts.yaml", "zlib-bindings"] |
9 changes: 9 additions & 0 deletions
9
test/integration/tests/1265-extensible-snapshots/files/snapshot-2.yaml
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
resolver: ghc-7.10 | ||
packages: | ||
- stm-2.4.4.1 | ||
- async-2.1.0 | ||
- zlib-0.6.1.1 | ||
# FIXME: test these here | ||
flags: {} | ||
ghc-options: {} | ||
allow-newer: true |
3 changes: 3 additions & 0 deletions
3
test/integration/tests/1265-extensible-snapshots/files/snapshot-modify-lts.yaml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
resolver: lts-5.11 | ||
drop-packages: | ||
- zlib |
20 changes: 6 additions & 14 deletions
20
test/integration/tests/1265-extensible-snapshots/files/snapshot.yaml
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 |
---|---|---|
@@ -1,15 +1,7 @@ | ||
compiler: ghc-7.10 | ||
resolver: | ||
name: test-snapshot-2 | ||
location: snapshot-2.yaml | ||
packages: | ||
# Just the first thing I found via github search that conditionally adds exports | ||
# based on flags. | ||
# | ||
# TODO: check that the decoder interface is present (and that this flag matters) | ||
- SHA-1.6.4 | ||
- binary-0.8.0.0 | ||
flags: | ||
SHA: | ||
DecoderInterface: true | ||
# FIXME: test this better | ||
ghc-options: | ||
SHA: "-Wall" | ||
allow-newer: true | ||
- microlens-0.4.3.0 | ||
drop-packages: | ||
- zlib |
4 changes: 4 additions & 0 deletions
4
test/integration/tests/1265-extensible-snapshots/files/stack-modify-lts.yaml
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
resolver: | ||
name: snapshot-modify-lts | ||
location: snapshot-modify-lts.yaml | ||
packages: [] |