tests: Skip tests that would fail due to the shebang length.
authorLudovic Courtès <ludo@gnu.org>
Mon, 23 Feb 2015 22:52:28 +0000 (23:52 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 23 Feb 2015 23:01:34 +0000 (00:01 +0100)
commitb69c5c2ced1e41fdb5c2e747b1fb3a338ca63768
treeeafabb8dcb62eb56ea00e2a46f7fb42109c9f69d
parent12d720fd1a9c43019f2d5afa051b45c7633b3ab0
tests: Skip tests that would fail due to the shebang length.

Reported by Daniel Kochmański <dkochmanski@hellsgate.pl>.
Fixes <http://bugs.gnu.org/19888>.

* guix/tests.scm (shebang-too-long?): New procedure.
* tests/builders.scm ("gnu-build"): Conditionalize on
  not (shebang-too-long?).
* tests/packages.scm ("GNU Make, bootstrap"): Likewise.
* tests/guix-package.sh (shebang_not_too_long): New function.
  Use it to determine whether to build 'gnu-make-boot0'.
guix/tests.scm
tests/builders.scm
tests/guix-package.sh
tests/packages.scm