[Nix-dev] how to disable tests
Christopher Howard
cmhoward2 at alaska.edu
Sat Jan 26 01:36:14 CET 2013
Hi. I'm trying to build emacs-24.2, but I can't because guile-2.0.7
won't build. One test failed. Personally, I don't care. (Coming from a
Gentoo background, I know that half the packages out there with unit
tests will fail their tests even though the software works fine, which
is why tests are not enabled by default in Gentoo.) How do I run Nix
with tests disabled?
quote:
--------
Running syntax.test
UNRESOLVED: syntax.test: letrec: bindings: initial bindings are undefined
UNRESOLVED: syntax.test: letrec*: bindings: initial bindings are undefined
Running texinfo.docbook.test
Running texinfo.serialize.test
Running texinfo.string-utils.test
Running texinfo.test
Running threads.test
UNRESOLVED: threads.test: mutex-ownership: mutex with owner not
retained (bug #27450)
Running time.test
Running tree-il.test
UNRESOLVED: tree-il.test: warnings: unused-toplevel: used by macro
Running version.test
UNRESOLVED: version.test: version reporting works
Running vlist.test
Running weaks.test
Running web-http.test
Running web-request.test
Running web-response.test
Running web-uri.test
Totals for this test run:
passes: 34732
failures: 0
unexpected passes: 0
expected failures: 6
unresolved test cases: 569
untested test cases: 1
unsupported test cases: 9
errors: 1
WARNING: (test-suite sxml-xpath): imported module (sxml xpath)
overrides core binding `filter'
FAIL: check-guile
==================================
1 of 1 test failed
Please report to bug-guile at gnu.org
==================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/tmp/nix-build-guile-2.0.7.drv-0/guile-2.0.7'
[q[qmake[2]: *** [check-am] Error 2
make[2]: Leaving directory `/tmp/nix-build-guile-2.0.7.drv-0/guile-2.0.7'
[q[qmake[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/tmp/nix-build-guile-2.0.7.drv-0/guile-2.0.7'
[q[qmake: *** [check] Error 2
[q[q[qbuilder for
`/import/c/w/cmhoward2/theta/nixstore/2mdg87h493411xa98mdp5h3ak43pb2bm-guile-2.0.7.drv'
failed with exit code 2
cannot build derivation
`/import/c/w/cmhoward2/theta/nixstore/r0vihry3gax4jn2km2hzjygrh0hvz2w4-gnutls-3.1.3.drv':
1 dependencies couldn't be built
killing process 32374
cannot build derivation
`/import/c/w/cmhoward2/theta/nixstore/pspff66jngm60adry7grsw5yi5ddbcxv-emacs-24.2.drv':
1 dependencies couldn't be built
error: build of
`/import/c/w/cmhoward2/theta/nixstore/pspff66jngm60adry7grsw5yi5ddbcxv-emacs-24.2.drv'
failed
--------
system info:
- Red Hat 64 bit with Linux version 2.6.18-348.el5
- Nix 1.3
More information about the nix-dev
mailing list