summaryrefslogtreecommitdiff
path: root/tests/pack.scm
AgeCommit message (Collapse)Author
2017-03-22tests: Skip 'guix pack' test when networking is unavailable.Ludovic Courtès
* tests/pack.scm ("self-contained-tarball"): Skip unless (network-reachable?).
2017-03-17pack: Move absolute file name to <compressor>.Ludovic Courtès
* guix/scripts/pack.scm (<compressor>)[package]: Remove. [command]: Document as being a gexp with an absolute file name. (%compressors): Adjust accordingly. (self-contained-tarball): Simplify PATH expression. Move 'string-join' for the compressor command on the build side. (docker-image): Simplify PATH expression. * tests/pack.scm (%gzip-compressor): Adjust accordingly.
2017-03-14pack: Add unit test.Ludovic Courtès
* guix/scripts/pack.scm (self-contained-tarball): Add #:tar option. [build](tar-supports-sort?): New variable. Use it. * tests/pack.scm: New file. * Makefile.am (SCM_TESTS): Add it.