~ruther/guix-local

ref: 052d53df1f9a34fea43a29618b0bf165255bdadf guix-local/tests d---------
052d53df — Mathieu Lirzin 10 years ago
tests: Use 'dummy-origin' for lint tests when possible.

* guix/tests/lint.scm ("patches: file names", "patches: not found"): Use
'dummy-origin'.  'sha256' field was wrongly set to a string instead of a
bytevector.
593c366b — Mark H Weaver 10 years ago
Merge branch 'core-updates'
412bee5e — Mark H Weaver 10 years ago
Merge branch 'master' into core-updates
c74f0cb2 — Ludovic Courtès 10 years ago
tests: Prevent 'http_proxy' from breaking Web server tests.

* tests/lint.scm: Add call to 'unsetenv' to remove 'http_proxy'.
* tests/publish.scm: Likewise.
6b779207 — Ludovic Courtès 10 years ago
system: grub: Search root device by label or UUID if possible.

Fixes <http://bugs.gnu.org/22281>.
Reported by Christopher Allan Webber <cwebber@dustycloud.org>.

* gnu/system/grub.scm (eye-candy): Add 'root-fs' parameter.  Replace
'search --file' command in the output with whatever 'grub-root-search'
returns.
(grub-root-search): New procedure.
(grub-configuration-file): Add 'store-fs' parameter.  Use
'grub-root-search' instead of hard-coded 'search --file' commands.
* gnu/system.scm (store-file-system,
operating-system-store-file-system): New procedures.
(operating-system-grub.cfg): Use it, and adjust call to
'grub-configuration-file'.
* tests/system.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
a132f7d6 — Ben Woodcroft 10 years ago
tests: Move beatify-description tests to import-tests.

Fixes <http://bugs.gnu.org/22391>.

* tests/cran.scm (beautify-description: use double spacing,
beautify-description: transform fragment into sentence). Move
from here ...
* tests/import-utils.scm: ... to here. New file.
* Makefile.am (SCM_TESTS): Add import-utils.
e88d5fa9 — Ben Woodcroft 10 years ago
import: gem: Beautify only the description, not the synopsis.

* guix/import/gem.scm (make-gem-sexp): Add synopsis argument.
(gem->guix-package): Pass unbeautified synopsis to make-gem-sexp.
* tests/gem.scm: Adapt it.
d0bd632f — Ricardo Wurmus 10 years ago
import: Add Bioconductor importer and updater.

* guix/import/cran.scm (%bioconductor-updater,
latest-bioconductor-release, bioconductor-package?): New procedures.
(cran->guix-package): Support repositories other than CRAN.
(%bioconductor-url, %bioconductor-svn-url): New variables.
(description->package): Update signature to distinguish between packages
from different repositories.
(latest-release): Rename procedure ...
(latest-cran-release): ... to this.
(cran-package?): Do not assume all R packages are available on CRAN.
* tests/cran.scm: Update tests.
* guix/scripts/import/cran.scm: Add "--archive" option and default to
CRAN.
* guix/scripts/refresh.scm (%updaters): Add "%bioconductor-updater".
* doc/guix.texi: Document Bioconductor importer and updater.
0e510971 — Ludovic Courtès 10 years ago
derivations: Add test in keep-going mode.

* tests/derivations.scm ("derivation fails but keep going"): New test.
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.
Next