~ruther/guix-local

ref: 7b158c4ee2d4b5cf6a2cd9bf0246465c3c8a06ca guix-local/tests d---------
afe9f409 — Mark H Weaver 10 years ago
Merge branch 'master' into core-updates
44ad3384 — Ludovic Courtès 10 years ago
derivations: Add test for #:leaked-env-vars.

* tests/derivations.scm ("derivation #:leaked-env-vars"): New test.
724eaef1 — Ludovic Courtès 10 years ago
tests: Use sed instead of grep as a package with no dependencies.

* tests/graph.scm ("node-edges"): Choose SED instead of GREP as the
example.
8c986ab1 — Ludovic Courtès 10 years ago
Merge branch 'master' into core-updates
6071122b — Ludovic Courtès 10 years ago
utils: Add 'ensure-keyword-arguments'.

* guix/utils.scm (delkw, ensure-keyword-arguments): New procedures.
* tests/utils.scm ("ensure-keyword-arguments"): New test.
db5a9444 — Ludovic Courtès 10 years ago
guix package: Allow multiple '--search' flags.

* guix/scripts/package.scm (find-packages-by-description): Change 'rx'
parameter to 'regexps'.
[matches-all?, matches-one?]: New procedures.
Use them.
(process-query): Collect regexps from all 'search' queries, and pass
them to 'find-packages-by-description'.
* tests/guix-package.sh: Add tests.
* doc/guix.texi (Invoking guix package): Document it.
53334dd6 — Ludovic Courtès 10 years ago
Merge branch 'master' into core-updates
51385362 — Ludovic Courtès 10 years ago
graph: %BAG-WITH-ORIGINS-NODE-TYPE includes the origin's guile.

Before that it would include #f for most origins since that the default
value of 'origin-patch-guile'.

* guix/scripts/graph.scm (bag-node-edges): When 'origin-patch-guile'
returns #f, use (default-guile).
* tests/graph.scm ("bag DAG, including origins"): Check for an edge from
O to (default-guile).
f88282af — Ludovic Courtès 10 years ago
graph: %BAG-EMERGED-NODE-TYPE filters out origins.

Fixes <http://bugs.gnu.org/22280>.
Reported by Leo Famulari <leo@famulari.name>.

* guix/scripts/graph.scm (%bag-emerged-node-type)[edges]: Mimic
%BAG-NODE-TYPE.  This is a followup to 38b92da.
223d7939 — Ludovic Courtès 10 years ago
guix build: Augment %PATCH-PATH when -L is passed.

Fixes <http://bugs.gnu.org/22259>.
Reported by Nikolay Merinov <nikolay.merinov@member.fsf.org>.

* guix/scripts/build.scm (%standard-build-options) <-L>: Augment
%PATCH-PATH.
* tests/guix-package.sh: Add test.
ccda8f7d — Ludovic Courtès 10 years ago
profiles: Honor search paths of propagated inputs.

Fixes <http://bugs.gnu.org/22073>.
Reported by Federico Beffa <beffa@ieee.org>.

* guix/profiles.scm (package->manifest-entry): Use
'package-transitive-native-search-paths' when computing
'search-paths' field.
* tests/profiles.scm ("package->manifest-entry, search paths"): New test.
aa8e0515 — Ludovic Courtès 10 years ago
packages: Add 'package-transitive-native-search-paths'.

* guix/packages.scm (package-transitive-native-search-paths): New
procedure.
* tests/packages.scm ("package-transitive-native-search-paths"): New
test.
9d3994f7 — Ludovic Courtès 10 years ago
gexp: 'local-file' resolves relative file names.

* guix/gexp.scm (<local-file>): Rename constructor to '%%local-file'.
Add 'absolute' field.
(%local-file, extract-directory, absolute-file-name): New procedures.
(current-source-directory): New macro.
(local-file): Adjust call to '%local-file'.
(local-file-absolute-file-name): New procedure.
(local-file-compiler): Force the 'absolute' field.
* tests/guix-system.sh: Test whether 'local-file' canonicalization
works.
* doc/guix.texi (G-Expressions): Adjust.
88d5858f — Ludovic Courtès 10 years ago
graph: Add synthetic test.

* tests/graph.scm ("node-transitive-edges, no duplicates"): New test.
e82e55e5 — Ludovic Courtès 10 years ago
Merge branch 'master' into core-updates
0f6b9e98 — Ricardo Wurmus 10 years ago
import: cran: Parse DESCRIPTION instead of HTML.

* guix/import/cran.scm (description->alist, listify,
  beautify-description, description->package): New procedures.
(table-datum, downloads->url, nodes->text, cran-sxml->sexp): Remove
proceduces.
(latest-release): Use parsed DESCRIPTION instead of SXML.
* tests/cran.scm: Rewrite to match importer.
58c08df0 — Ludovic Courtès 10 years ago
derivations: Determine what's built in 'check' mode.

* guix/derivations.scm (substitution-oracle): Add #:mode parameter and
honor it.
(derivation-prerequisites-to-build): Likewise.
[derivation-built?]: Take it into account.
* guix/ui.scm (show-what-to-build): Add #:mode parameter.  Pass it to
'substitute-oracle' and 'derivations-prerequisites-to-build'.
* tests/derivations.scm ("derivation-prerequisites-to-build in 'check'
mode"): New test.
2fba87ac — Ludovic Courtès 10 years ago
store: Allow clients to request multiple builds.

* guix/store.scm (set-build-options): Add #:rounds parameter and honor it.
* tests/store.scm ("build multiple times"): New test.
202440e0 — Ludovic Courtès 10 years ago
gnu-maintenance: Add tests for 'release-file?'.

* tests/gnu-maintenance.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* guix/gnu-maintenance.scm (release-file?): Export.
07e70f48 — Ludovic Courtès 10 years ago
store: Add mode parameter to 'build-paths'.

* guix/store.scm (%protocol-version): Set minor to 15.
(build-mode): New enumerate type.
(build-things): Add 'mode' parameter; pass it to the RPC.
* tests/store.scm ("build-things, check mode"): New check.
Next