guix-devel/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 Add (guix ci). 2018-03-28 16:17:06 +02:00
combinators.scm
config.scm.in build: Remove checks for 'nix-instantiate'. 2018-06-18 23:19:51 +02:00
cpio.scm
cve.scm cve: Use 'http-fetch/cached' instead of having custom caching. 2017-11-16 08:45:15 +01:00
cvs-download.scm
derivations.scm derivations: Fix typo in docstring. 2018-01-11 00:00:03 +01:00
discovery.scm discovery: Remove dependency on (guix ui). 2018-04-08 17:48:33 +02:00
docker.scm pack: Use 'with-extensions' when referring to (guix docker). 2018-06-01 15:21:28 +02:00
download.scm Merge branch 'master' into core-updates 2018-05-29 15:41:06 +02:00
elf.scm
ftp-client.scm download: Pass the timeout to 'ftp-retr'. 2017-11-14 23:46:53 +01:00
gcrypt.scm
gexp.scm gexp: Allow bytevector as content of `plain-file'. 2018-07-12 06:22:04 +02:00
git-download.scm git-download: Fix recursive checkouts. 2018-03-18 20:00:44 -05:00
git.scm git: Call 'url-cache-directory' outside 'update-cached-checkout'. 2018-07-13 16:24:48 +03:00
glob.scm glob: Add an extra glob pattern compilation stage. 2018-03-18 22:57:17 +01:00
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 hash: Add 'sha1'. 2018-03-08 11:56:20 +01:00
hg-download.scm
http-client.scm http-client: Send redirection messages to stderr. 2018-05-26 17:04:17 +02:00
i18n.scm ui: Introduce (guix i18n). 2017-11-08 22:31:58 +01:00
inferior.scm Add (guix inferior) and (guix scripts repl). 2018-07-13 17:28:39 +02:00
licenses.scm Correct name and Email for ng0. 2018-03-20 17:17:58 +01:00
man-db.scm profiles: Use 'with-extensions'. 2018-06-01 15:21:28 +02:00
memoization.scm memoization: Add 'invalidate-memoization!. 2017-12-13 23:11:53 +01:00
modules.scm modules: Report the search path in &missing-dependency-error. 2018-04-08 17:41:08 +02:00
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 Add (guix profiling). 2017-12-12 18:11:22 +01:00
progress.scm progress: Rename 'erase-in-line' to 'erase-current-line'. 2017-12-15 11:53:21 +01:00
records.scm records: Make a couple of procedures available at expansion time. 2018-05-31 18:13:08 +02:00
scripts.scm pull: Install the new Guix in a profile. 2018-06-09 12:02:27 +02:00
search-paths.scm search-paths: Add 'set-search-paths'. 2018-05-10 14:53:57 +02:00
self.scm self: Build with Guile 2.2.4. 2018-07-02 15:28:35 +02:00
serialization.scm store: Fix potential over-reads in 'import-paths'. 2018-01-11 00:00:02 +01:00
sets.scm
ssh.scm ssh: Work around 'select' bug in Guile. 2018-02-09 11:23:27 +01:00
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 discovery: Remove dependency on (guix ui). 2018-04-08 17:48:33 +02:00
utils.scm utils: Really clean up temporary directories. 2018-07-13 17:33:45 -04:00
workers.scm workers: Display backtrace in pre-unwind handler. 2017-11-17 10:47:56 +01:00
zlib.scm zlib: Fix race condition when closing gzip ports. 2017-11-19 23:09:01 +01:00