From 6636555bd6ade872b78da3de809d3891da550035 Mon Sep 17 00:00:00 2001 From: Dante Haskell Elrik Date: Sun, 25 Feb 2018 20:20:46 -0500 Subject: [PATCH] stack runghc test/integration/IntegrationSpec.hs 3860-better-cache FAILED [1] Failures: test/integration/IntegrationSpec.hs:77: 1) 3860-better-cache uncaught exception: TestFailure (Exited with ExitFailure 1 stdout: stderr: Running: /Users/elrikdante/apps/stack-3860-better-cache/.stack-work/install/x86_64-osx/lts-10.5/8.2.2/bin/stack build stm --stack-yaml custom1/stack.yaml Updating package index Hackage (mirrored at https://s3.amazonaws.com/hackage.fpcomplete.com/) ... Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/ Downloading root Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/ Downloading timestamp Downloading snapshot Downloading mirrors Cannot update index (no local copy) Downloading index Updated package index downloaded Update complete Populating index cache ... Populated index cache. Stack looks for packages in the directories configured in the 'packages' and 'extra-deps' fields defined in your stack.yaml The current entry points to /Users/elrikdante/apps/stack-3860-better-cache/test/integration/tests/3860-better-cache/files/custom1/ but no .cabal or package.yaml file could be found there. Main.hs: Exited with exit code: ExitFailure 1 CallStack (from HasCallStack): error, called at /Users/elrikdante/apps/stack-3860-better-cache/test/integration/lib/StackTest.hs:38:34 in main:StackTest ) Randomized with seed 1630687830 Finished in 29.1537 seconds 1 example, 1 failure --- .../tests/3860-better-cache/files/custom1/custom1.yaml | 6 ++++-- .../tests/3860-better-cache/files/custom1/stack.yaml | 1 - .../tests/3860-better-cache/files/custom2/custom2.yaml | 7 +++++-- .../tests/3860-better-cache/files/custom2/stack.yaml | 3 +-- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/test/integration/tests/3860-better-cache/files/custom1/custom1.yaml b/test/integration/tests/3860-better-cache/files/custom1/custom1.yaml index 818b612b05..543f613f83 100644 --- a/test/integration/tests/3860-better-cache/files/custom1/custom1.yaml +++ b/test/integration/tests/3860-better-cache/files/custom1/custom1.yaml @@ -1,2 +1,4 @@ -resolver: custom1.yaml -packages: [] +compiler: ghc-8.2 +name: custom1 +packages: +- mtl-2.2.1 diff --git a/test/integration/tests/3860-better-cache/files/custom1/stack.yaml b/test/integration/tests/3860-better-cache/files/custom1/stack.yaml index 818b612b05..79d35008ea 100644 --- a/test/integration/tests/3860-better-cache/files/custom1/stack.yaml +++ b/test/integration/tests/3860-better-cache/files/custom1/stack.yaml @@ -1,2 +1 @@ resolver: custom1.yaml -packages: [] diff --git a/test/integration/tests/3860-better-cache/files/custom2/custom2.yaml b/test/integration/tests/3860-better-cache/files/custom2/custom2.yaml index 818b612b05..d75b52933b 100644 --- a/test/integration/tests/3860-better-cache/files/custom2/custom2.yaml +++ b/test/integration/tests/3860-better-cache/files/custom2/custom2.yaml @@ -1,2 +1,5 @@ -resolver: custom1.yaml -packages: [] +compiler: ghc-8.2 +name: custom2 +packages: +- mtl-2.2.1 +- text diff --git a/test/integration/tests/3860-better-cache/files/custom2/stack.yaml b/test/integration/tests/3860-better-cache/files/custom2/stack.yaml index 818b612b05..3a44e578c5 100644 --- a/test/integration/tests/3860-better-cache/files/custom2/stack.yaml +++ b/test/integration/tests/3860-better-cache/files/custom2/stack.yaml @@ -1,2 +1 @@ -resolver: custom1.yaml -packages: [] +resolver: custom2.yaml