Skip to content

Commit 0adb224

Browse files
committed
Failing test case for #3431
1 parent 08e4d02 commit 0adb224

File tree

5 files changed

+23
-0
lines changed

5 files changed

+23
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import StackTest
2+
import Control.Monad
3+
import Data.List
4+
5+
main :: IO ()
6+
main = do
7+
stack ["build", "stm", "--stack-yaml", "custom1/stack.yaml"]
8+
stackCheckStderr ["build", "stm", "--stack-yaml", "custom2/stack.yaml"] $ \out ->
9+
unless ("precompiled" `isInfixOf` out) $ error "Didn't use precompiled!"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
resolver: ghc-8.2.1
2+
name: custom1
3+
packages:
4+
- stm-2.4.4.1
5+
- acme-missiles-0.3
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
resolver: custom1.yaml
2+
packages: []
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
resolver: ghc-8.2.1
2+
name: custom2
3+
packages:
4+
- stm-2.4.4.1
5+
- acme-missiles-0.2
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
resolver: custom2.yaml
2+
packages: []

0 commit comments

Comments
 (0)