me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
guix/tests
Ludovic Courtès f9a8fce10f
status: Build upon multiplexed build output.
This allows for more accurate status tracking and parsing of extended
build traces.

* guix/status.scm (multiplexed-output-supported?): New procedure.
(print-build-event): Don't print \r when PRINT-LOG? is true.
Adjust 'build-log' handling for when 'multiplexed-output-supported?'
returns true.
(bytevector-index, split-lines): New procedures.
(build-event-output-port)[%build-output-pid, %build-output]
[%build-output-left]: New variables.
[process-line]: Handle "@ build-output" traces.
[process-build-output]: New procedure.
[write!]: Add case for when %BUILD-OUTPUT-PID is true.  Use
'bytevector-index' rather than 'string-index'.
(compute-status): Add #:derivation-path->output-path.  Use it.
* tests/status.scm ("compute-status, multiplexed build output"):
New test.
("build-output-port, UTF-8")
("current-build-output-port, UTF-8 + garbage"): Adjust to new
'build-log' output.
* guix/scripts/build.scm (set-build-options-from-command-line):
Pass #:multiplexed-build-output?.
(%default-options): Add 'multiplexed-build-output?'.
* guix/scripts/environment.scm (%default-options): Likewise.
* guix/scripts/pack.scm (%default-options): Likewise.
* guix/scripts/package.scm (%default-options): Likewise.
* guix/scripts/pull.scm (%default-options): Likewise.
* guix/scripts/system.scm (%default-options): Likewise.
2018-10-15 23:06:55 +02:00
..
base16.scm utils: Move base16 procedures to (guix base16). 2017-03-16 22:50:14 +01:00
base32.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
base64.scm substitute-binary: Support the Signature field of a narinfo file. 2014-03-30 12:02:10 +02:00
bournish.scm bournish: Extend 'rm' command. 2017-01-26 13:49:56 +01:00
build-utils.scm utils: 'wrap-program' produces only one wrapper file. 2016-09-07 23:59:02 +02:00
builders.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
cache.scm cache: Work around 'time-monotonic' bug in Guile 2.2.2. 2017-04-22 14:42:15 +02:00
challenge.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
combinators.scm utils: Move combinators to (guix combinators). 2016-05-04 23:35:55 +02:00
containers.scm tests: Fix race condition in 'container-excursion*' test. 2017-05-31 17:08:45 +02:00
cpan.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
cpio.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
cran.scm import: cran: Robustify cran-package?. 2017-05-13 12:40:20 +02:00
crate.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
cve-sample.xml Add (guix cve). 2015-11-26 22:35:01 +01:00
cve.scm cve: Use a more compact format for the list of package/versions. 2016-05-28 01:07:12 +02:00
debug-link.scm grafts: Add (guix build debug-link) and use it. 2018-08-24 18:01:05 +02:00
derivations.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
discovery.scm discovery: Recurse into directories pointed to by a symlink. 2017-07-03 23:51:23 +02:00
elpa.scm tests: elpa: Don't actually download files. 2018-03-18 22:33:41 +01:00
file-systems.scm uuid: Move tests to 'tests/uuid.scm'. 2017-09-14 00:10:13 +02:00
gem.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
gexp.scm tests: Update (guix build store-copy) tests. 2018-09-27 23:46:44 +02:00
glob.scm glob: Add an extra glob pattern compilation stage. 2018-03-18 22:57:17 +01:00
gnu-maintenance.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
grafts.scm graft: Correctly replace references near the end of the scan buffer. 2017-08-24 23:55:51 +02:00
graph.scm tests: Adjust graph test. 2018-06-06 14:37:35 +02:00
gremlin.scm gremlin: 'elf-dynamic-info-needed' test is no longer skipped. 2018-08-21 23:27:08 +02:00
guix-archive.sh guix archive: Add '--extract'. 2015-10-19 10:10:47 +02:00
guix-authenticate.sh authenticate: Allow signatures with binary data to be written to stdout. 2014-04-22 11:30:58 +02:00
guix-build.sh guix build: '-f' accepts file-like objects. 2018-10-09 18:54:12 +02:00
guix-daemon.sh guix-daemon: Disable garbage collection for remote connections. 2018-04-19 19:06:26 +02:00
guix-describe.sh Add 'guix describe'. 2018-09-07 11:40:22 +02:00
guix-download.sh guix download: Support retrieving local file without the URI scheme. 2017-08-20 20:55:45 +08:00
guix-environment-container.sh environment: Add --user. 2018-03-02 11:55:43 +01:00
guix-environment.sh environment: Add --manifest option. 2018-02-21 22:16:38 -05:00
guix-gc.sh guix gc: Add '--derivers'. 2018-03-27 14:51:44 +02:00
guix-graph.sh graph: Allow store file names for 'derivation' and 'references' graphs. 2016-05-21 01:35:14 +02:00
guix-hash.sh guix hash: Interpret '-' as standard input. 2016-10-28 22:30:17 +02:00
guix-lint.sh tests: Do not run 'cve' checker in 'tests/guix-lint.sh'. 2016-05-24 14:45:18 +02:00
guix-pack.sh tests: Skip 'guix-pack.sh'. 2018-07-05 21:35:55 +02:00
guix-package-net.sh tests: Remove 't-profile-alt-*-link' files. 2017-06-02 18:47:06 +02:00
guix-package.sh profiles: 'packages->manifest' now accepts inferior packages. 2018-09-21 17:04:37 +02:00
guix-system.sh vm: Make UUID computation really deterministic. 2018-09-07 11:40:05 +02:00
hackage.scm import: hackage: Evaluate "-any" and "-none" version comparison operators. 2018-07-12 20:35:04 +02:00
import-utils.scm import: utils: 'alist->package' allows false license. 2018-02-16 11:10:12 +01:00
inferior.scm profiles: 'packages->manifest' now accepts inferior packages. 2018-09-21 17:04:37 +02:00
lint.scm lint: 'check-vulnerabilities' also checks package properties. 2017-12-10 21:59:07 +02:00
modules.scm modules: Raise an error when a dependency could not be found. 2017-05-25 14:25:17 +02:00
monads.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
nar.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
opam.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
pack.scm tests: Skip 'self-contained-tarball' test unconditionally. 2018-09-18 23:23:44 +02:00
packages.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
pki.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
print.scm import: Add package->code. 2017-09-28 13:10:10 +02:00
profiles.scm profiles: Correctly deal with etc/ being a relative symlink. 2018-09-11 00:14:58 +02:00
publish.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
pypi.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
records.scm records: Adjust to test changes in 'record-abi-mismatch-error'. 2018-08-31 17:26:56 +02:00
scripts-build.scm guix build: Support '--with-source=PACKAGE@VERSION=URI'. 2017-12-23 00:05:05 +01:00
scripts.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
search-paths.scm tests: Adjust search-paths test following the introduction of aarch64. 2017-04-04 00:10:00 +02:00
services.scm tests: Adjust services tests to new 'shepherd-service-upgrade'. 2018-09-27 23:58:05 +02:00
sets.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
signing-key.pub daemon: Implement signed archive import/export. 2013-12-20 17:17:42 +01:00
signing-key.sec daemon: Implement signed archive import/export. 2013-12-20 17:17:42 +01:00
size.scm size: Add test to multiple 'store-profile' arguments. 2017-04-07 00:17:16 +02:00
snix.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
status.scm status: Build upon multiplexed build output. 2018-10-15 23:06:55 +02:00
store-database.scm database: Reset timestamps to one second after the Epoch. 2018-07-20 15:01:33 +02:00
store-deduplication.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
store.scm daemon: Support multiplexed build output. 2018-10-15 22:40:35 +02:00
substitute.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
syscalls.scm syscalls: Define AT_SYMLINK_NOFOLLOW et al. 2018-07-03 17:50:04 +02:00
system.scm system: Mapped devices needed for boot do not yield Shepherd services. 2018-06-21 23:54:15 +02:00
test.drv Add unit test for derivation parsing and output. 2012-04-19 23:09:55 +02:00
texlive.scm guix: Add texlive importer. 2017-06-15 17:03:19 +02:00
ui.scm ui: 'string->duration' correctly handles hours. 2017-05-10 22:05:21 +02:00
union.scm union: Add 'relative-file-name'. 2018-05-10 14:53:56 +02:00
upstream.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
utils.scm utils: Add 'version-prefix?'. 2018-05-13 13:29:27 +02:00
uuid.scm uuid: 'uuid' returns #f when 'string->uuid' returns #f. 2018-05-19 00:14:52 +02:00
workers.scm workers: Add test with exceptions. 2017-11-17 10:47:49 +01:00
zlib.scm zlib: Fix memory leak due to revealed ports not being GC'd. 2017-10-11 15:20:50 +02:00