Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
9ab618bc
Commit
9ab618bc
authored
Aug 02, 2005
by
simonmar
Browse files
[project @ 2005-08-02 16:04:23 by simonmar]
update test
parent
27ed03ed
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/cabal/Makefile
View file @
9ab618bc
...
...
@@ -68,9 +68,9 @@ ghcpkg04 :
@
rm
-f
$(PKGCONF)
@
echo
"[]"
>
$(PKGCONF)
@
$(GHC_PKG)
register
--force
test.pkg
>
/dev/null 2>&1
@
$(GHC_PKG)
regis
te
r
--force
test
2
.pkg
>
/dev/null 2>&1
@
$(GHC_PKG)
expose testpkg-
2.0
>
/dev/null 2>&1
@
:
#
we now have
testpkg-1.2.3.4 and testpkg-2.0 both exposed
@
$(GHC_PKG)
upda
te
--force
test
5
.pkg
>
/dev/null 2>&1
@
$(GHC_PKG)
expose testpkg-
1.2.3.4
>
/dev/null 2>&1
@
:
# testpkg-1.2.3.4 and
new
testpkg-2.0
are
both exposed
now
@
$(TEST_HC)
-package-conf
$(PKGCONF)
-c
ghcpkg04.hs
||
true
# -----------------------------------------------------------------------------
...
...
testsuite/tests/ghc-regress/cabal/ghcpkg04.stderr
View file @
9ab618bc
...
...
@@ -2,4 +2,4 @@
ghcpkg04.hs:1:0:
Failed to load interface for `A':
Cannot import `A':
it was found in multiple packages: testpkg-
2.0
testpkg-
1.2.3.4
it was found in multiple packages: testpkg-
1.2.3.4 new
testpkg-
2.0
testsuite/tests/ghc-regress/cabal/test5.pkg
0 → 100644
View file @
9ab618bc
name: "newtestpkg"
version: 2.0
license: BSD3
copyright: (c) The Univsersity of Glasgow 2004
maintainer: glasgow-haskell-users@haskell.org
stability: unstable
homepage: http://www.haskell.org/ghc
package-url: http://www.haskell.org/ghc
description: A Test Package (new version)
category: none
author: simonmar@microsoft.com
exposed: True
exposed-modules: A
hidden-modules: B, "C.D", "C.E"
import-dirs: /usr/local/lib/testpkg, "c:/Program Files/testpkg"
library-dirs: /usr/local/lib/testpkg, "c:/Program Files/testpkg"
hs-libraries: testpkg-2.0
depends: base-1.0, haskell-src, Cabal
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment