Commit bcd2e985 authored by Simon Marlow's avatar Simon Marlow
Browse files

update ghc-pkg tests following the addition of installedPackageId

parent aea3f4d6
<command line>: unknown package: 1750A-1
<command line>: unknown package: 1750A-1-XXX
WARNING: there are broken packages. Run 'ghc-pkg check' for more details.
local1750.package.conf:
{1750A-1}, {1750B-1}
name: 1750A
version: 1
depends: 1750B-1
id: 1750A-1-XXX
depends: 1750B-1-XXX
name: 1750B
version: 1
depends: 1750A-1
id: 1750B-1-XXX
depends: 1750A-1-XXX
ghc-pkg: unregistering testpkg-2.0 would break the following packages: testpkg-3.0 (use --force to override)
testpkg-3.0: dependency testpkg-2.0 doesn't exist (use --force to override)
testpkg-3.0: dependency "testpkg-2.0-XXX" doesn't exist (use --force to override)
......@@ -3,6 +3,7 @@ Reading package info from "test.pkg" ... done.
Writing new package config file... done.
name: testpkg
version: 1.2.3.4
id: testpkg-1.2.3.4-XXX
license: BSD3
copyright: (c) The Univsersity of Glasgow 2004
maintainer: glasgow-haskell-users@haskell.org
......@@ -32,6 +33,7 @@ haddock-interfaces:
haddock-html:
name: testpkg
version: 1.2.3.4
id: testpkg-1.2.3.4-XXX
license: BSD3
copyright: (c) The Univsersity of Glasgow 2004
maintainer: glasgow-haskell-users@haskell.org
......@@ -66,6 +68,7 @@ local01.package.conf:
testpkg-1.2.3.4, (testpkg-2.0)
name: testpkg
version: 2.0
id: testpkg-2.0-XXX
license: BSD3
copyright: (c) The Univsersity of Glasgow 2004
maintainer: glasgow-haskell-users@haskell.org
......@@ -95,6 +98,7 @@ haddock-interfaces:
haddock-html:
name: testpkg
version: 1.2.3.4
id: testpkg-1.2.3.4-XXX
license: BSD3
copyright: (c) The Univsersity of Glasgow 2004
maintainer: glasgow-haskell-users@haskell.org
......@@ -125,6 +129,7 @@ haddock-html:
---
name: testpkg
version: 2.0
id: testpkg-2.0-XXX
license: BSD3
copyright: (c) The Univsersity of Glasgow 2004
maintainer: glasgow-haskell-users@haskell.org
......@@ -167,6 +172,7 @@ Writing new package config file... done.
Writing new package config file... done.
name: testpkg
version: 1.2.3.4
id: testpkg-1.2.3.4-XXX
license: BSD3
copyright: (c) The Univsersity of Glasgow 2004
maintainer: glasgow-haskell-users@haskell.org
......
testdup-1.0: package has duplicate dependencies: testpkg-1.2.3.4 (use --force to override)
testdup-1.0: package has duplicate dependencies: testpkg-1.2.3.4 (ignoring)
testdup-1.0: package has duplicate dependencies: testpkg-1.2.3.4-XXX (use --force to override)
testdup-1.0: package has duplicate dependencies: testpkg-1.2.3.4-XXX (ignoring)
name: testpkg
version: 1.2.3.4
id: testpkg-1.2.3.4-XXX
license: BSD3
copyright: (c) The Univsersity of Glasgow 2004
maintainer: glasgow-haskell-users@haskell.org
......
name: "testpkg"
version: 2.0
id: testpkg-2.0-XXX
license: BSD3
copyright: (c) The Univsersity of Glasgow 2004
maintainer: glasgow-haskell-users@haskell.org
......
name: "testpkg"
version: 3.0
id: testpkg-3.0-XXX
license: BSD3
copyright: (c) The Univsersity of Glasgow 2004
maintainer: glasgow-haskell-users@haskell.org
......@@ -15,4 +16,4 @@ hidden-modules:
import-dirs:
library-dirs:
hs-libraries:
depends: testpkg-2.0
depends: testpkg-2.0-XXX
name: "testpkg"
version: 4.0
id: testpkg-4.0-XXX
license: BSD3
copyright: (c) The Univsersity of Glasgow 2004
maintainer: glasgow-haskell-users@haskell.org
......@@ -15,4 +16,4 @@ hidden-modules:
import-dirs:
library-dirs:
hs-libraries:
depends: testpkg-2.0
depends: testpkg-2.0-XXX
name: "newtestpkg"
version: 2.0
id: newtestpkg-2.0-XXX
license: BSD3
copyright: (c) The Univsersity of Glasgow 2004
maintainer: glasgow-haskell-users@haskell.org
......
name: testdup
version: 1.0
id: testdup-1.0-XXX
license: BSD3
depends: testpkg-1.2.3.4 testpkg-1.2.3.4
depends: testpkg-1.2.3.4-XXX testpkg-1.2.3.4-XXX
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment