Commit Graph

24581 Commits

Author SHA1 Message Date
Peter Simons
d8974b47cb pkgs/build-support/cabal: filter 'doCheck=false' field from the expression to avoid unnecessary hash changes
In the master branch, doCheck defaults to 'false', which means that no package
will change its hash unless its doCheck field is set to 'true' explicitly. In
the stdenv-updates branch, however, all Haskell packages have a default setting
of 'doCheck=true'. Once that branch has been merged, filtering doCheck is no
longer necessary.
2013-02-24 23:43:34 +01:00
Peter Simons
c18e2ea902 pkgs/build-support/cabal: filter internal 'testDepends' field from the expression to avoid unnecessary hash changes 2013-02-24 23:41:08 +01:00
Peter Simons
ed9cb3942c haskell-permutation: disable 'doCheck' to avoid build errors
Test/Permute.hs:20:8:
    Could not find module `Test.QuickCheck'
    Use -v to see a list of the files searched for.
2013-02-24 23:39:43 +01:00
Peter Simons
539659248e haskell-zip-archive: disable 'doCheck' to avoid test suite failures
Test suite test-zip-archive: RUNNING...
Cases: 7  Tried: 1  Errors: 0  Failures: 0/bin/sh: /usr/bin/zip: No such file or directory
### Error in:   1
test-temp/test4.zip: openBinaryFile: does not exist (No such file or directory)
Cases: 7  Tried: 4  Errors: 1  Failures: 0  adding: LICENSE (deflated 46%)
  adding: Codec/ (stored 0%)
  adding: LICENSE (deflated 46%)
  adding: Codec/ (stored 0%)
  adding: Codec/Archive/ (stored 0%)
  adding: Codec/Archive/Zip.hs (deflated 74%)
Cases: 7  Tried: 6  Errors: 1  Failures: 0  creating: test-temp/dir1
extracting: test-temp/dir1/hi
  creating: test-temp/dir1/dir2
 inflating: test-temp/dir1/dir2/hello
Cases: 7  Tried: 7  Errors: 1  Failures: 0
Test suite test-zip-archive: FAIL
Test suite logged to: dist/test/zip-archive-0.1.3.3-test-zip-archive.log
0 of 1 test suites (0 of 1 test cases) passed.
2013-02-24 23:34:35 +01:00
Peter Simons
924efa3aaa haskell-tls: disable 'doCheck' to avoid build errors
Tests/Tests.hs:41:0:
     error: missing binary operator before token "("
2013-02-24 23:33:12 +01:00
Peter Simons
36700ed68f haskell-numbers: disable 'doCheck' to avoid build errors
Setup: At least the following dependencies are missing:
test-framework ==0.6.*, test-framework-quickcheck2 ==0.2.*
2013-02-24 23:31:32 +01:00
Peter Simons
81da0c5194 haskell-sendfile: update to version 0.7.9 2013-02-24 23:25:00 +01:00
Peter Simons
a4f092a276 haskell-hashed-storage: disable 'doCheck' because of test suite errors
running tests
/bin/sh: dist/build/hashed-storage-test/hashed-storage-test: No such file or directory
2013-02-24 23:24:48 +01:00
Peter Simons
b1010d50b5 haskell-vty: disable 'doCheck' because of build errors
Setup: At least the following dependencies are missing:
Cabal ==1.17.*
2013-02-24 23:20:53 +01:00
Peter Simons
2083fbb03e haskell-filestore: cosmetic 2013-02-24 23:10:34 +01:00
Peter Simons
e2c5dfc3ee haskell-src-exts: disable 'doCheck' because of test suite build errors
Test/Runner.hs:5:8:
    Could not find module `Language.Haskell.Exts.Annotated'
    Use -v to see a list of the files searched for.
Setup: Pattern match failure in do expression at Setup.hs:6:5-15
2013-02-24 23:10:17 +01:00
Peter Simons
8e37f1d166 Merge updates from 'origin/stdenv-updates' into stdenv-updates. 2013-02-24 22:59:03 +01:00
Peter Simons
9f37804f36 haskell-filestore: disable 'doCheck' because of test suite failures
running tests
/bin/sh: ./dist/build/test-filestore/test-filestore: No such file or directory
2013-02-24 22:56:28 +01:00
Peter Simons
fb97adb244 zeromq3-haskell: disable 'doCheck' because of build errors in test program 2013-02-24 22:44:48 +01:00
Peter Simons
01b02925e4 haskell-cautious-file: disable 'doCheck' because of test suite failure 2013-02-24 22:42:15 +01:00
Peter Simons
5e495dcff2 haskell-HTTP: disable 'doCheck' to avoid compilation errors
Setup: At least the following dependencies are missing:
  case-insensitive ==0.4.*,
  conduit >=0.4 && <0.6,
  http-types >=0.6 && <0.8,
  wai >=1.2 && <1.4
2013-02-24 22:41:52 +01:00
Peter Simons
1e5df990db haskell-simple-sendfile: disable 'doCheck' because of test suite failure
Running 1 test suites...
Test suite spec: RUNNING...

Sendfile
  sendfile
spec: test/inputFile: openFd: does not exist (No such file or directory)
    - sends an entire file FAILED [1]
spec: test/inputFile: openFd: does not exist (No such file or directory)
    - sends a part of file FAILED [2]
spec: test/inputFile: openFd: does not exist (No such file or directory)
    - terminates even if length is over
spec: test/inputFile: openFd: does not exist (No such file or directory)
    - terminates even if offset is over
    - terminates even if the file is truncated FAILED [3]

  sendfileWithHeader
spec: test/inputFile: openFd: does not exist (No such file or directory)
    - sends an header and an entire file FAILED [4]
spec: test/inputFile: openFd: does not exist (No such file or directory)
    - sends an header and a part of file FAILED [5]
spec: test/inputFile: openFd: does not exist (No such file or directory)
    - sends a large header and an entire file FAILED [6]
spec: test/inputFile: openFd: does not exist (No such file or directory)
    - sends a large header and a part of file FAILED [7]
spec: test/inputFile: openFd: does not exist (No such file or directory)
    - terminates even if length is over
spec: test/inputFile: openFd: does not exist (No such file or directory)
    - terminates even if offset is over
    - terminates even if the file is truncated FAILED [8]

1) Sendfile.sendfile sends an entire file FAILED (uncaught exception)
IOException (test/inputFile: openBinaryFile: does not exist (No such file or directory))

2) Sendfile.sendfile sends a part of file FAILED (uncaught exception)
IOException (test/inputFile: openBinaryFile: does not exist (No such file or directory))

3) Sendfile.sendfile terminates even if the file is truncated FAILED (uncaught exception)
IOException (test/inputFile: openBinaryFile: does not exist (No such file or directory))

4) Sendfile.sendfileWithHeader sends an header and an entire file FAILED (uncaught exception)
IOException (test/inputFile: openBinaryFile: does not exist (No such file or directory))

5) Sendfile.sendfileWithHeader sends an header and a part of file FAILED (uncaught exception)
IOException (test/inputFile: openBinaryFile: does not exist (No such file or directory))

6) Sendfile.sendfileWithHeader sends a large header and an entire file FAILED (uncaught exception)
IOException (test/inputFile: openBinaryFile: does not exist (No such file or directory))

7) Sendfile.sendfileWithHeader sends a large header and a part of file FAILED (uncaught exception)
IOException (test/inputFile: openBinaryFile: does not exist (No such file or directory))

8) Sendfile.sendfileWithHeader terminates even if the file is truncated FAILED (uncaught exception)
IOException (test/inputFile: openBinaryFile: does not exist (No such file or directory))
2013-02-24 22:36:44 +01:00
Peter Simons
66097c6025 Disable 'doCheck' in more packages to avoid infinite evaluation loops. 2013-02-24 22:24:55 +01:00
Peter Simons
ea34b78ea6 haskell-text: disable 'doCheck' to avoid infinite evaluation loop
Some of the 'testDepends' of these packages end up depending on 'text' again.
2013-02-24 22:23:26 +01:00
Peter Simons
024f036ecd alex: disable 'doCheck' to avoid compilation errors
The test-suite stanza is incomplete.
2013-02-24 22:22:02 +01:00
Peter Simons
6d212a9129 haddock: disable 'doCheck' to avoid compilation errors
The test-suite stanza is incomplete.
2013-02-24 22:21:54 +01:00
Peter Simons
fa5babd47d haskell-ghc-events: disable 'doCheck' because of test suite failure
Running 1 test suites...
Test suite test-versions: RUNNING...
test-versions: test/queens-ghc-6.12.1.eventlog: openBinaryFile: does not exist (No such file or directory)
Test suite test-versions: FAIL
Test suite logged to: dist/test/ghc-events-0.4.2.0-test-versions.log
0 of 1 test suites (0 of 1 test cases) passed.
2013-02-24 22:20:01 +01:00
Peter Simons
9cb00cf14e haskell-packages.nix: fix attribute ordering after recent additions 2013-02-24 22:18:44 +01:00
Peter Simons
4846709d50 haskell-unbounded-delays: add version 0.1.0.5 2013-02-24 22:17:56 +01:00
Peter Simons
c122781579 haskell-text-icu: add version 0.6.3.5 2013-02-24 22:17:49 +01:00
Peter Simons
5b4b656e51 haskell-Safe: add version 0.1 2013-02-24 22:17:41 +01:00
Peter Simons
e82f5c750e haskell-stringprep: add version 0.1.5 2013-02-24 22:17:30 +01:00
Peter Simons
15ff301d63 haskell-stringbuilder: add version 0.4.0 2013-02-24 22:17:13 +01:00
Peter Simons
1dfe6d4e6b haskell-punycode: add version 2.0 2013-02-24 22:17:01 +01:00
Peter Simons
0b0905be3b haskell-network-transport-tests: add version 0.1.0.1 2013-02-24 22:16:53 +01:00
Peter Simons
b27fd14fb0 haskell-nanospec: add version 0.1.0 2013-02-24 22:16:46 +01:00
Peter Simons
a123d5704c haskell-markdown-unlit: add version 0.2.0.1 2013-02-24 22:16:38 +01:00
Peter Simons
0a18c04e95 haskell-lockfree-queue: add version 0.2 2013-02-24 22:16:25 +01:00
Peter Simons
9bf8e18584 haskell-idna: add version 0.2 2013-02-24 22:16:16 +01:00
Peter Simons
cc43390065 haskell-hspec-meta: add version 1.4.4 2013-02-24 22:11:11 +01:00
Peter Simons
52c8f2a8f6 haskell-file-location: add version 0.4.5.2 2013-02-24 22:10:49 +01:00
Peter Simons
a831ca8a4c haskell-encoding: add version 0.6.7.2 2013-02-24 22:10:41 +01:00
Peter Simons
b0fb01de00 haskell-data-accessor-transformers: add version 0.2.1.4 2013-02-24 22:10:30 +01:00
Peter Simons
d4aa0c77f0 haskell-concurrent-extra: add version 0.7.0.5 2013-02-24 22:10:20 +01:00
Peter Simons
23d7315135 haskell-ChasingBottoms: add version 1.3.0.5 2013-02-24 22:10:08 +01:00
Peter Simons
fbb1665cec haskell-base-compat: add version 0.2.1 2013-02-24 22:09:56 +01:00
Peter Simons
7165babaf1 Re-generate all Haskell packages with the latest version of cabal2nix.
This change brings support for building and running the regressions test suites.
2013-02-24 22:09:07 +01:00
Peter Simons
e779adc607 pkgs/build-support/cabal: set 'checkPhase' only if 'doCheck' is true 2013-02-24 21:48:36 +01:00
viric
e2d097c5c0 Merge pull request #333 from bjornfor/fix-typo
my-env/default.nix: fix "sdl-env" vs "env-sdl" typo
2013-02-24 12:39:20 -08:00
Bjørn Forsman
5b9a7fc95a my-env/default.nix: fix "sdl-env" vs "env-sdl" typo
my-env/default.nix lists an example on how to create an SDL environment
that can be installed with "nix-env -i sdl-env". That is actually wrong
and will not work. The correct command is "nix-env -i env-sdl".
2013-02-24 21:35:23 +01:00
Peter Simons
1dba3fe14a pkgs/build-support/cabal: enable 'doCheck=true' by default 2013-02-24 21:15:43 +01:00
Peter Simons
bf5ac53073 pkgs/build-support/cabal: add 'testDepends' field to specify build-time dependencies that are required only for running the test suites 2013-02-24 21:15:25 +01:00
Peter Simons
26b192edcc pkgs/build-support/cabal: unify all non-user-specified configure flags in the internal 'extraConfigureFlags' variable 2013-02-24 21:14:01 +01:00
Peter Simons
726574a5e4 pkgs/lib/strings.nix: strip trailing whitespace 2013-02-24 19:28:38 +01:00
Peter Simons
7181888c23 pkgs/lib/strings.nix: add 'enableFeature' function to simplify generation of GNU Autoconf "--{enable,disable}-feature" strings 2013-02-24 19:28:24 +01:00