guix/guix
Christopher Baines 0d354666d3
ruby-build-system: Error or return #t from all phases.
Previously, if the tests didn't pass, the check phase would evaluate to #f,
but the package would be built sucessfully. This changes all the phases to
raise exceptions if errors are encountered, and return #t otherwise.

This involves using invoke rather than system*, so that exceptions are raised
if the program exits with a status other than 0, and also returning #t at the
end of functions.

* gnu/build/ruby-build-system.scm (unpack): Use invoke rather than system*,
and return #t at the end.
(build, check): Use invoke rather than system*.
(install): Remove the use of "and", and rewrite the error handling to raise an
exception.
(wrap): Return #t.
2018-07-15 22:19:39 +01:00
..
build ruby-build-system: Error or return #t from all phases. 2018-07-15 22:19:39 +01:00
build-system build-system/meson: Really skip the 'fix-runpath' phase on armhf. 2018-07-02 12:07:58 +02:00
import import: hackage: Fix typo. 2018-07-13 15:23:40 +02:00
scripts pull: Display new/upgraded packages upon completion. 2018-07-13 17:28:40 +02:00
store database: 'reset-timestamps' now correctly handles symlinks. 2018-07-03 17:50:04 +02:00
tests
base16.scm
base32.scm
base64.scm
build-system.scm
cache.scm
ci.scm
combinators.scm
config.scm.in build: Remove checks for 'nix-instantiate'. 2018-06-18 23:19:51 +02:00
cpio.scm
cve.scm
cvs-download.scm
derivations.scm
discovery.scm
docker.scm
download.scm
elf.scm
ftp-client.scm
gcrypt.scm
gexp.scm gexp: Allow bytevector as content of `plain-file'. 2018-07-12 06:22:04 +02:00
git-download.scm
git.scm git: Call 'url-cache-directory' outside 'update-cached-checkout'. 2018-07-13 16:24:48 +03:00
glob.scm
gnu-maintenance.scm gnu-maintenance: Get GNU metadata from rec files. 2018-07-11 16:07:04 +02:00
gnupg.scm
grafts.scm
graph.scm
hash.scm
hg-download.scm
http-client.scm
i18n.scm
inferior.scm Add (guix inferior) and (guix scripts repl). 2018-07-13 17:28:39 +02:00
licenses.scm
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm store: Remove 'register-path'. 2018-06-14 11:17:00 +02:00
packages.scm Revert "packages: Optimize 'package-transitive-supported-systems'." 2018-07-03 17:50:04 +02:00
pk-crypto.scm
pki.scm
profiles.scm guix package: Use relative symlinks to generations. 2018-07-13 17:28:39 +02:00
profiling.scm
progress.scm
records.scm
scripts.scm
search-paths.scm
self.scm self: Build with Guile 2.2.4. 2018-07-02 15:28:35 +02:00
serialization.scm
sets.scm
ssh.scm
store.scm store: Add `binary-file'. 2018-07-12 06:22:04 +02:00
svn-download.scm
tests.scm
ui.scm ui: Fix typo. 2018-07-11 00:53:04 +02:00
upstream.scm
utils.scm utils: Really clean up temporary directories. 2018-07-13 17:33:45 -04:00
workers.scm
zlib.scm