From 20ba0bf254f1db68a23ce9c33c94cca031a1ad6f Mon Sep 17 00:00:00 2001 From: Alex Lang Date: Thu, 17 Sep 2015 21:33:58 -0700 Subject: [PATCH] Add missing test data files for Explicit tests --- ghc-mod.cabal | 6 ++++++ test/data/options-cradle/ghc-mod.options | 2 ++ test/data/options-cradle/ghc-mod.package-db-stack | 5 +++++ .../data/options-cradle/package-db-a/package.cache | Bin 0 -> 40 bytes .../data/options-cradle/package-db-b/package.cache | Bin 0 -> 40 bytes .../data/options-cradle/package-db-c/package.cache | Bin 0 -> 40 bytes test/data/options-cradle/src/Main.hs | 10 ++++++++++ test/data/options-cradle/src/Main2.hs | 10 ++++++++++ 8 files changed, 33 insertions(+) create mode 100644 test/data/options-cradle/ghc-mod.options create mode 100644 test/data/options-cradle/ghc-mod.package-db-stack create mode 100644 test/data/options-cradle/package-db-a/package.cache create mode 100644 test/data/options-cradle/package-db-b/package.cache create mode 100644 test/data/options-cradle/package-db-c/package.cache create mode 100644 test/data/options-cradle/src/Main.hs create mode 100644 test/data/options-cradle/src/Main2.hs diff --git a/ghc-mod.cabal b/ghc-mod.cabal index ac660bf87..c909a8132 100644 --- a/ghc-mod.cabal +++ b/ghc-mod.cabal @@ -92,6 +92,12 @@ Extra-Source-Files: ChangeLog test/data/stack-project/app/*.hs test/data/stack-project/src/*.hs test/data/stack-project/test/*.hs + test/data/options-cradle/ghc-mod.options + test/data/options-cradle/ghc-mod.package-db-stack + test/data/options-cradle/package-db-a/package.cache + test/data/options-cradle/package-db-b/package.cache + test/data/options-cradle/package-db-c/package.cache + test/data/options-cradle/src/*.hs Library Default-Language: Haskell2010 diff --git a/test/data/options-cradle/ghc-mod.options b/test/data/options-cradle/ghc-mod.options new file mode 100644 index 000000000..bf11cfa3b --- /dev/null +++ b/test/data/options-cradle/ghc-mod.options @@ -0,0 +1,2 @@ +-isrc +-DINTERPRETED diff --git a/test/data/options-cradle/ghc-mod.package-db-stack b/test/data/options-cradle/ghc-mod.package-db-stack new file mode 100644 index 000000000..ce2d74166 --- /dev/null +++ b/test/data/options-cradle/ghc-mod.package-db-stack @@ -0,0 +1,5 @@ +global +user +package-db-a +package-db-b +package-db-c diff --git a/test/data/options-cradle/package-db-a/package.cache b/test/data/options-cradle/package-db-a/package.cache new file mode 100644 index 0000000000000000000000000000000000000000..b3cae5cf028ad4728b344193a7c6fe4e76e36af3 GIT binary patch literal 40 ZcmZQb&qyxFPG