summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/T7478
Commit message (Collapse)AuthorAgeFilesLines
* Declare some Makefile targets to be PHONYThomas Miedema2015-02-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Given: a Makefile with a non-PHONY target called `target` If: after running `make target`, a file exists with the same name as `target` (it was either already there, or it was created by running `make target`) And: `target` has no dependencies, such as `clean`, that modify or delete that file Then: subsequent invocations of `make target` will not have any effect. Solution: make `target` PHONY. BAD: ``` foo: ... ./foo ``` BETTER: ``` foo: ... ./foo .PHONY: foo ``` Reviewers: austin Reviewed By: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D670
* Package keys (for linking/type equality) separated from package IDs.Edward Z. Yang2014-08-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch set makes us no longer assume that a package key is a human readable string, leaving Cabal free to "do whatever it wants" to allocate keys; we'll look up the PackageId in the database to display to the user. This also means we have a new level of qualifier decisions to make at the package level, and rewriting some Safe Haskell error reporting code to DTRT. Additionally, we adjust the build system to use a new ghc-cabal output Make variable PACKAGE_KEY to determine library names and other things, rather than concatenating PACKAGE/VERSION as before. Adds a new `-this-package-key` flag to subsume the old, erroneously named `-package-name` flag, and `-package-key` to select packages by package key. RFC: The md5 hashes are pretty tough on the eye, as far as the file system is concerned :( ToDo: safePkg01 test had its output updated, but the fix is not really right: the rest of the dependencies are truncated due to the fact the we're only grepping a single line, but ghc-pkg is wrapping its output. ToDo: In a later commit, update all submodules to stop using -package-name and use -this-package-key. For now, we don't do it to avoid submodule explosion. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: validate Reviewers: simonpj, simonmar, hvr, austin Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D80
* Typo in test definitionJoachim Breitner2013-11-121-1/+1
|
* Run T7478, plugins06, T7918 only when dynamic libraries are availableJoachim Breitner2013-11-121-1/+7
| | | | | as they fail in a non-helpful way otherwise. This should help the testsuite pass on travis.
* Suppress some known errors from Mac OS X.Edward Z. Yang2013-09-141-1/+1
| | | | Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
* add test for #7478Simon Marlow2012-12-077-0/+96