~ruther/guix-local

ref: 318c0aee1ec2f33e4dfb7f4daa4a67cfcbe78629 guix-local/tests d---------
536fc5f8 — Mark H Weaver 9 years ago
Merge branch 'core-updates'
0832787e — Mark H Weaver 9 years ago
Revert "Merge branch 'core-updates'"

This reverts commit 455859a50f88f625d13fc2f304111f02369b366b.
a5c37603 — Ludovic Courtès 9 years ago
tests: Make sure threads use separate output ports.

* tests/publish.scm (with-separate-output-ports): New macro.
<top level>: Use it when spawning new thread.
("/*.narinfo with compression"): Likewise.
2c7b48c2 — Ludovic Courtès 9 years ago
tests: Work around Guile bug with unbuffered custom binary input ports.

Reported by Chris Marusich <cmmarusich@gmail.com>
at <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24060#19>

* tests/publish.scm (http-get-port): Remove 'setvbuf' call for the
response port.
455859a5 — Ludovic Courtès 9 years ago
Merge branch 'core-updates'
089b1678 — Ludovic Courtès 9 years ago
publish: Do not compress already-compressed files.

* guix/scripts/publish.scm (narinfo-string): Force %NO-COMPRESSION when
STORE-PATH matches 'compressed-file?'.
* guix/utils.scm (compressed-file?): New procedure.
* tests/publish.scm ("/*.narinfo for a compressed file"): New test.
1250034d — Ludovic Courtès 9 years ago
tests: 'guix-environment-container.sh' works when run from a tmpfs.

Fixes <http://bugs.gnu.org/22004>.
Reported by Ting-Wei Lan <lantw44@gmail.com>.

* tests/guix-environment-container.sh (mount_test_code): Add 'match'
clause to ignore "/"; augment clause that ignores specific file system
types such that it does not ignore parent mount points.
0bab3af0 — Mark H Weaver 9 years ago
Merge branch 'master' into core-updates
57c7e46d — Ludovic Courtès 9 years ago
tests: Improve synchronization in 'tests/guix-register.sh'.

* tests/guix-register.sh: When launching guix-daemon, add retry loop
around 'open-connection'.  This fixes test failures that could occur
under heavy load where the daemon's socket file wouldn't be ready yet
when the client connects.
622c22cc — Mark H Weaver 9 years ago
Merge branch 'master' into core-updates
386b71d1 — Ludovic Courtès 9 years ago
gnu: commencement: 'guile-final' is now "hidden".

This way, we no longer have this annoying warning:

  $ guix build guile -n
  guix build: warning: ambiguous package specification `guile'
  guix build: warning: choosing guile-2.0.11 from gnu/packages/guile.scm:128:2

* gnu/packages/commencement.scm (guile-final): Use 'hidden-package'.
* tests/packages.scm ("fold-packages, hidden package"): New test.
6980511b — Ludovic Courtès 9 years ago
packages: Add 'hidden-package'.

* guix/packages.scm (hidden-package, hidden-package?): New procedures.
* gnu/packages.scm (fold-packages): Filter out 'hidden-package?'.
* tests/packages.scm ("hidden-package"): New test.
e309c756 — Andreas Enge 9 years ago
Merge remote-tracking branch 'origin/master' into core-updates
37402ecb — Ludovic Courtès 9 years ago
tests: Use unbuffered input ports when decompressing from 'guix publish'.

Fixes <http://bugs.gnu.org/24060>.
Reported by Chris Marusich <cmmarusich@gmail.com>.

* tests/publish.scm (http-get-port): Explicitly call
'open-socket-for-uri' and add calls to 'setvbuf'.
9e90fc77 — Ludovic Courtès 9 years ago
profiles: Output in 'package->manifest-entry' defaults to "out".

Fixes <http://bugs.gnu.org/24029>.
Reported by Dylan Jeffers <sapientech@openmailbox.org>.

* guix/profiles.scm (package->manifest-entry): Change #:output to
default to "out".
(packages->manifest): Add 'package?' in second 'match' clause.
* tests/profiles.scm ("package->manifest-entry defaults to \"out\""):
New test.
20185522 — Ludovic Courtès 9 years ago
environment: Set 'GUIX_ENVIRONMENT' to the profile.

* guix/scripts/environment.scm (create-environment): Set
'GUIX_ENVIRONMENT' to PROFILE.
* tests/guix-environment.sh: Test it.
* doc/guix.texi (Invoking guix environment): Document it.
8173ceee — Ludovic Courtès 9 years ago
import: pypi: Correctly handle new-style URLs.

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

* guix/import/pypi.scm (guix-package->pypi-name): Rewrite using
'basename' and 'hyphen-package-name->name+version'.
* tests/pypi.scm ("guix-package->pypi-name, old URL style")
("guix-package->pypi-name, new URL style"): New tests.
14656f44 — Andreas Enge 9 years ago
Merge remote-tracking branch 'origin/master' into core-updates
99fe215c — David Craven 9 years ago
lint: 'inputs-should-be-native' checks for intltool, itstool and glib:bin.

* guix/scripts/lint.scm (check-inputs-should-be-native): Warn when intltool,
itstool or glib:bin isn't a native-input.
* tests/lint.scm (inputs: glib:bin is probably a native input): Add test.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
d227260d — Leo Famulari 9 years ago
Merge branch 'master' into core-updates

Resolved conflicts:
* gnu/packages/scheme.scm: Conflict in import of (guix licenses). On master,
"#:hide (openssl)" was used. On core-updates, "#:select (some licenses)" was
used. The latter won the conflict.
* gnu/packages/version-control.scm (git)[arguments]: Whitespace conflict
in 'install-shell-completion.
Next