digraph "Guix package" { "72851008" [label = "coreutils-8.25", shape = box, fontname = Helvetica]; "72851008" -> "49728512" [color = darkseagreen]; "72851008" -> "74872512" [color = darkseagreen]; "72851008" -> "53180864" [color = darkseagreen]; "72851008" -> "75199232" [color = darkseagreen]; "49728512" [label = "perl-5.24.0", shape = box, fontname = Helvetica]; "74872512" [label = "acl-2.2.52", shape = box, fontname = Helvetica]; "74872512" -> "74873280" [color = red]; "74872512" -> "49728512" [color = red]; "74872512" -> "74872704" [color = red]; "74873280" [label = "gettext-minimal-0.19.8.1", shape = box, fontname = Helvetica]; "74873280" -> "41550784" [color = cyan3]; "41550784" [label = "expat-2.2.0", shape = box, fontname = Helvetica]; "74872704" [label = "attr-2.4.47", shape = box, fontname = Helvetica]; "74872704" -> "74873280" [color = cyan3]; "74872704" -> "49728512" [color = cyan3]; "53180864" [label = "gmp-6.1.1", shape = box, fontname = Helvetica]; "53180864" -> "50262784" [color = darkgoldenrod]; "50262784" [label = "m4-1.4.17", shape = box, fontname = Helvetica]; "75199232" [label = "libcap-2.24", shape = box, fontname = Helvetica]; "75199232" -> "49728512" [color = blue]; "75199232" -> "74872704" [color = blue]; } 39835eef16'>treecommitdiff
path: root/tests/glob.scm
AgeCommit message (Expand)Author
2018-03-18glob: Add an extra glob pattern compilation stage....* guix/glob.scm (compile-glob-pattern): Rename to... (string->sglob): ... this. (compile-sglob, string->compiled-sglob): New procedures. (glob-match?): Replace '?, 'range, and 'set with a single clause. * tests/glob.scm (test-compile-glob-pattern): Rename to... (test-string->sglob): ... this. Adjust accordingly. (test-glob-match): Use 'string->compiled-sglob' instead of 'compile-glob-pattern'. * gnu/build/linux-modules.scm (read-module-aliases): Use 'string->compiled-sglob' instead of 'compile-glob-pattern'. Ludovic Courtès
2018-03-18glob: Support square brackets in patterns....* guix/glob.scm (wildcard-indices): Remove. (parse-bracket): New procedure. (compile-glob-pattern): Rewrite. Support square brackets for sets and ranges. (glob-match?): Support sets and ranges. * tests/glob.scm (test-compile-glob-pattern) (test-glob-match): New macros. Use them to rewrite the existing tests, and add new tests. Ludovic Courtès
2018-03-02Add (guix glob)....* guix/glob.scm, tests/glob.scm: New files. * Makefile.am (MODULES): Add guix/glob.scm. (SCM_TESTS): Add tests/glob.scm. Ludovic Courtès