guix/tests
Ludovic Courtès 870bf71eb0
cve: Use a more compact format for the list of package/versions.
On a warm cache, "guix lint -c cve vorbis-tools" goes down
from 6.5s to 2.4s.

* guix/cve.scm (cpe->package-name): Change to return two values instead
of a pair.
(cpe->product-alist): New procedure.
(%parse-vulnerability-feed): Use it instead of 'filter-map'.
(fetch-vulnerabilities): Bump sexp format version to 1.
(vulnerabilities->lookup-proc): Adjust accordingly.  When #:version is
omitted, return a list of vulnerabilities instead of a list of
version/vulnerability pairs.
* tests/cve.scm (%expected-vulnerabilities)
("vulnerabilities->lookup-proc): Adjust accordingly.
2016-05-28 01:07:12 +02:00
..
base32.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
base64.scm
build-utils.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
builders.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
challenge.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
combinators.scm utils: Move combinators to (guix combinators). 2016-05-04 23:35:55 +02:00
containers.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
cpan.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
cpio.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
cran.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +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
derivations.scm derivations: 'derivation' sorts items in the resulting object. 2016-05-21 01:35:14 +02:00
elpa.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
file-systems.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
gem.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
gexp.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
gnu-maintenance.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
grafts.scm grafts: Rename files whose name matches a graft. 2016-05-21 01:35:14 +02:00
graph.scm graph: Add 'node-reachable-count'. 2016-05-24 00:06:01 +02:00
gremlin.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
guix-archive.sh guix archive: Add '--extract'. 2015-10-19 10:10:47 +02:00
guix-authenticate.sh
guix-build.sh packages: Support the deprecated "NAME-VERSION" syntax. 2016-03-08 11:38:46 +01:00
guix-daemon.sh tests: Disable grafts by default. 2016-03-02 14:47:07 +01:00
guix-download.sh guix download: Fail when more than one URL is passed. 2015-11-23 17:48:35 +01:00
guix-environment-container.sh environment: Properly handle SIGINT. 2016-03-27 15:09:21 -04:00
guix-environment.sh scripts: environment: Build environments as profiles. 2016-02-12 22:02:06 +01:00
guix-gc.sh guix gc: Error out when extra arguments are passed. 2015-11-11 23:29:20 +01: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-lint.sh tests: Do not run 'cve' checker in 'tests/guix-lint.sh'. 2016-05-24 14:45:18 +02:00
guix-package-net.sh guix package: '--search-paths' can report combined search paths. 2015-11-11 00:37:50 +01:00
guix-package.sh guix package: Inherit the transformed version number. 2016-05-27 22:05:34 +02:00
guix-register.sh guix-register: Perform deduplication even when --prefix is passed. 2015-06-10 13:47:58 +02:00
guix-system.sh services: Rename 'dmd' services to 'shepherd'. 2016-01-29 20:21:53 +03:00
hackage.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
hash.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
import-utils.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
lint.scm lint: 'check-vulnerabilities' follows package replacements. 2016-04-28 18:03:01 +02:00
monads.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
nar.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
packages.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
pk-crypto.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
pki.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
profiles.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
publish.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
pypi.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
records.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
scripts-build.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
scripts.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
services.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +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
signing-key.sec
size.scm size: 'store-profile' takes a list of store items. 2016-05-24 23:05:28 +02:00
snix.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
store.scm store: 'requisites' now takes a list of store items. 2016-05-24 23:35:28 +02:00
substitute.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
syscalls.scm utils: Move 'fcntl-flock' to (guix build syscalls). 2016-05-06 13:25:30 +02:00
system.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
test.drv
ui.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +02:00
union.scm build: Add a Guile custom test driver using SRFI-64. 2016-04-03 14:19:09 +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: Move 'fcntl-flock' to (guix build syscalls). 2016-05-06 13:25:30 +02:00