-
Notifications
You must be signed in to change notification settings - Fork 697
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
15 changed files
with
15,849 additions
and
15,129 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,92 @@ | ||
InstalledPackageInfo | ||
{abiDepends = [AbiDependency | ||
{depAbiHash = AbiHash "35a7f6be752ee4f7385cb5bf28677879", | ||
depUnitId = UnitId "base-4.10.1.0"}, | ||
AbiDependency | ||
{depAbiHash = AbiHash "inplace", | ||
depUnitId = UnitId "Includes2-0.1.0.0-inplace-mysql"}], | ||
abiHash = AbiHash "inplace", | ||
author = "Edward Z. Yang", | ||
category = "", | ||
ccOptions = [], | ||
compatPackageKey = "Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n", | ||
copyright = "", | ||
cxxOptions = [], | ||
dataDir = "/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2", | ||
depends = [UnitId "base-4.10.1.0", | ||
UnitId "Includes2-0.1.0.0-inplace-mysql"], | ||
description = "", | ||
exposed = False, | ||
exposedModules = [ExposedModule | ||
{exposedName = ModuleName "Mine", exposedReexport = Nothing}], | ||
extraGHCiLibraries = [], | ||
extraLibraries = [], | ||
frameworkDirs = [], | ||
frameworks = [], | ||
haddockHTMLs = ["/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/doc/html/Includes2"], | ||
haddockInterfaces = ["/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/doc/html/Includes2/Includes2.haddock"], | ||
hiddenModules = [], | ||
homepage = "", | ||
hsLibraries = ["HSIncludes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"], | ||
importDirs = ["/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"], | ||
includeDirs = [], | ||
includes = [], | ||
indefinite = False, | ||
installedComponentId_ = ComponentId "", | ||
installedUnitId = UnitId | ||
"Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n", | ||
instantiatedWith = [_×_ | ||
(ModuleName "Database") | ||
(OpenModule | ||
(DefiniteUnitId | ||
(DefUnitId (UnitId "Includes2-0.1.0.0-inplace-mysql"))) | ||
(ModuleName "Database.MySQL"))], | ||
ldOptions = [], | ||
libVisibility = LibraryVisibilityPrivate, | ||
libraryDirs = ["/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"], | ||
libraryDynDirs = ["/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"], | ||
license = Right BSD3, | ||
maintainer = "ezyang@cs.stanford.edu", | ||
pkgRoot = Nothing, | ||
pkgUrl = "", | ||
sourceLibName = LSubLibName (UnqualComponentName "mylib"), | ||
sourcePackageId = PackageIdentifier | ||
{pkgName = PackageName "Includes2", | ||
pkgVersion = mkVersion [0, 1, 0, 0]}, | ||
stability = "", | ||
synopsis = "", | ||
trusted = False} | ||
InstalledPackageInfo { | ||
sourcePackageId = | ||
PackageIdentifier { | ||
pkgName = PackageName | ||
"Includes2", | ||
pkgVersion = mkVersion | ||
[0, 1, 0, 0]}, | ||
sourceLibName = LSubLibName | ||
(UnqualComponentName "mylib"), | ||
installedComponentId_ = | ||
ComponentId "", | ||
libVisibility = | ||
LibraryVisibilityPrivate, | ||
installedUnitId = UnitId | ||
"Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n", | ||
instantiatedWith = [ | ||
_×_ | ||
(ModuleName "Database") | ||
(OpenModule | ||
(DefiniteUnitId | ||
(DefUnitId | ||
(UnitId | ||
"Includes2-0.1.0.0-inplace-mysql"))) | ||
(ModuleName "Database.MySQL"))], | ||
compatPackageKey = | ||
"Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n", | ||
license = Right BSD3, | ||
copyright = "", | ||
maintainer = | ||
"ezyang@cs.stanford.edu", | ||
author = "Edward Z. Yang", | ||
stability = "", | ||
homepage = "", | ||
pkgUrl = "", | ||
synopsis = "", | ||
description = "", | ||
category = "", | ||
abiHash = AbiHash "inplace", | ||
indefinite = False, | ||
exposed = False, | ||
exposedModules = [ | ||
ExposedModule { | ||
exposedName = ModuleName "Mine", | ||
exposedReexport = Nothing}], | ||
hiddenModules = [], | ||
trusted = False, | ||
importDirs = | ||
[ | ||
"/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"], | ||
libraryDirs = | ||
[ | ||
"/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"], | ||
libraryDirsStatic = [], | ||
libraryDynDirs = | ||
[ | ||
"/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"], | ||
dataDir = | ||
"/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2", | ||
hsLibraries = [ | ||
"HSIncludes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"], | ||
extraLibraries = [], | ||
extraLibrariesStatic = [], | ||
extraGHCiLibraries = [], | ||
includeDirs = [], | ||
includes = [], | ||
depends = [ | ||
UnitId "base-4.10.1.0", | ||
UnitId | ||
"Includes2-0.1.0.0-inplace-mysql"], | ||
abiDepends = [ | ||
AbiDependency { | ||
depUnitId = UnitId | ||
"base-4.10.1.0", | ||
depAbiHash = AbiHash | ||
"35a7f6be752ee4f7385cb5bf28677879"}, | ||
AbiDependency { | ||
depUnitId = UnitId | ||
"Includes2-0.1.0.0-inplace-mysql", | ||
depAbiHash = AbiHash | ||
"inplace"}], | ||
ccOptions = [], | ||
cxxOptions = [], | ||
ldOptions = [], | ||
frameworkDirs = [], | ||
frameworks = [], | ||
haddockInterfaces = | ||
[ | ||
"/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/doc/html/Includes2/Includes2.haddock"], | ||
haddockHTMLs = | ||
[ | ||
"/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/doc/html/Includes2"], | ||
pkgRoot = Nothing} |
124 changes: 76 additions & 48 deletions
124
Cabal-tests/tests/ParserTests/ipi/internal-preprocessor-test.expr
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,48 +1,76 @@ | ||
InstalledPackageInfo | ||
{abiDepends = [], | ||
abiHash = AbiHash "", | ||
author = "Mikhail Glushenkov", | ||
category = "Testing", | ||
ccOptions = [], | ||
compatPackageKey = "internal-preprocessor-test-0.1.0.0", | ||
copyright = "", | ||
cxxOptions = [], | ||
dataDir = "/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess", | ||
depends = [UnitId "base-4.8.2.0-0d6d1084fbc041e1cded9228e80e264d"], | ||
description = "See https://github.com/haskell/cabal/issues/1541#issuecomment-30155513", | ||
exposed = True, | ||
exposedModules = [ExposedModule | ||
{exposedName = ModuleName "A", exposedReexport = Nothing}], | ||
extraGHCiLibraries = [], | ||
extraLibraries = [], | ||
frameworkDirs = [], | ||
frameworks = [], | ||
haddockHTMLs = ["/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/doc/html/internal-preprocessor-test"], | ||
haddockInterfaces = ["/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/doc/html/internal-preprocessor-test/internal-preprocessor-test.haddock"], | ||
hiddenModules = [], | ||
homepage = "", | ||
hsLibraries = ["HSinternal-preprocessor-test-0.1.0.0"], | ||
importDirs = ["/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/build"], | ||
includeDirs = [], | ||
includes = [], | ||
indefinite = False, | ||
installedComponentId_ = ComponentId "", | ||
installedUnitId = UnitId "internal-preprocessor-test-0.1.0.0", | ||
instantiatedWith = [], | ||
ldOptions = [], | ||
libVisibility = LibraryVisibilityPublic, | ||
libraryDirs = ["/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/build", | ||
"/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/build"], | ||
libraryDynDirs = [], | ||
license = Right (GPL (Just (mkVersion [3]))), | ||
maintainer = "mikhail.glushenkov@gmail.com", | ||
pkgRoot = Just | ||
"/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist", | ||
pkgUrl = "", | ||
sourceLibName = LMainLibName, | ||
sourcePackageId = PackageIdentifier | ||
{pkgName = PackageName "internal-preprocessor-test", | ||
pkgVersion = mkVersion [0, 1, 0, 0]}, | ||
stability = "", | ||
synopsis = "Internal custom preprocessor example.", | ||
trusted = False} | ||
InstalledPackageInfo { | ||
sourcePackageId = | ||
PackageIdentifier { | ||
pkgName = PackageName | ||
"internal-preprocessor-test", | ||
pkgVersion = mkVersion | ||
[0, 1, 0, 0]}, | ||
sourceLibName = LMainLibName, | ||
installedComponentId_ = | ||
ComponentId "", | ||
libVisibility = | ||
LibraryVisibilityPublic, | ||
installedUnitId = UnitId | ||
"internal-preprocessor-test-0.1.0.0", | ||
instantiatedWith = [], | ||
compatPackageKey = | ||
"internal-preprocessor-test-0.1.0.0", | ||
license = Right | ||
(GPL (Just (mkVersion [3]))), | ||
copyright = "", | ||
maintainer = | ||
"mikhail.glushenkov@gmail.com", | ||
author = "Mikhail Glushenkov", | ||
stability = "", | ||
homepage = "", | ||
pkgUrl = "", | ||
synopsis = | ||
"Internal custom preprocessor example.", | ||
description = | ||
"See https://github.com/haskell/cabal/issues/1541#issuecomment-30155513", | ||
category = "Testing", | ||
abiHash = AbiHash "", | ||
indefinite = False, | ||
exposed = True, | ||
exposedModules = [ | ||
ExposedModule { | ||
exposedName = ModuleName "A", | ||
exposedReexport = Nothing}], | ||
hiddenModules = [], | ||
trusted = False, | ||
importDirs = | ||
[ | ||
"/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/build"], | ||
libraryDirs = | ||
[ | ||
"/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/build", | ||
"/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/build"], | ||
libraryDirsStatic = [], | ||
libraryDynDirs = [], | ||
dataDir = | ||
"/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess", | ||
hsLibraries = [ | ||
"HSinternal-preprocessor-test-0.1.0.0"], | ||
extraLibraries = [], | ||
extraLibrariesStatic = [], | ||
extraGHCiLibraries = [], | ||
includeDirs = [], | ||
includes = [], | ||
depends = [ | ||
UnitId | ||
"base-4.8.2.0-0d6d1084fbc041e1cded9228e80e264d"], | ||
abiDepends = [], | ||
ccOptions = [], | ||
cxxOptions = [], | ||
ldOptions = [], | ||
frameworkDirs = [], | ||
frameworks = [], | ||
haddockInterfaces = | ||
[ | ||
"/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/doc/html/internal-preprocessor-test/internal-preprocessor-test.haddock"], | ||
haddockHTMLs = | ||
[ | ||
"/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/doc/html/internal-preprocessor-test"], | ||
pkgRoot = | ||
Just | ||
"/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist"} |
Oops, something went wrong.