From 6a08014b77bf435f025ecdac08396580b85f159a Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sat, 8 Sep 2018 20:22:45 +0200 Subject: [PATCH] fix binary literals. --- module/nyacc/lex.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/nyacc/lex.scm b/module/nyacc/lex.scm index 2ec9895..b205212 100644 --- a/module/nyacc/lex.scm +++ b/module/nyacc/lex.scm @@ -345,10 +345,11 @@ ((char-numeric? ch) (iter chl '$fixed ba 1 ch)) ((char=? #\. ch) (iter (cons ch chl) #f ba 15 (read-char))) (else #f))) - ((10) ;; allow x after 0 + ((10) ;; allow x, b after 0 (cond ((eof-object? ch) (iter chl ty ba 5 ch)) ((char=? #\x ch) (iter (cons ch chl) ty 16 1 (read-char))) + ((char=? #\b ch) (iter (cons ch chl) ty 2 1 (read-char))) (else (iter chl ty ba 1 ch)))) ((15) ;; got `.' only (cond -- 2.18.0 d> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/tests/web.scm
AgeCommit message (Expand)Author
2021-01-28services: postgresql: Add socket directory support....* gnu/services/databases.scm (postgresql-config-file-socket-directory): New procedure. (<postgresql-config-file>)[socket-directory]: New field. (postgresql-config-file-compiler): Honor it. (postgresql-activation): Create the socket directory if needed. * doc/guix.texi (Database Services): Document it. * gnu/tests/guix.scm (%guix-data-service-os): Adapt it. * gnu/tests/monitoring.scm (%zabbix-os): Ditto. * gnu/tests/web.scm (patchwork-os): Ditto. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Mathieu Othacehe
2020-10-20services: databases: Don't specify a default postgresql version....Currently, if the postgresql package major version changes, this is going to break the service upon upgrade, because PostgreSQL will reject the data files from the differing major version of the service. Because it's important to either keep running a particular major version, or intentionally upgrade, I think the configuration would be better with no default. I think this is also going to be helpful when trying to assist users upgrading PostgreSQL. * gnu/services/databases.scm (<postgresql-configuration>): Remove default for postgresql. (postgresql-service-type): Remove the default value. * gnu/tests/databases.scm (%postgresql-os): Update accordingly. * gnu/tests/guix.scm (%guix-data-service-os): Update accordingly. * gnu/tests/monitoring.scm (%zabbix-os): Update accordingly. * gnu/tests/web.scm (patchwork-os): Update accordingly. * doc/guix.texi (PostgreSQL): Update accordingly. Christopher Baines
2020-07-13gnu: tests: Fix unbound variable....Record type descriptors were made private in a143e92446859bd1edc7a7aea85b2089c82c77da, but a usage of them was forgotten in the tests files. * gnu/tests/web.scm (patchwork-initial-database-setup-service): Use accessors to access field values instead of unexported type descriptor. Julien Lepiller
2020-04-21tests: web: Explicitly wait for the HTTP port....* gnu/tests/web.scm (run-webserver-test)["HTTP port ready"]: New test. Ludovic Courtès
2019-05-31services: Add patchwork....* gnu/service/web.scm (<patchwork-database-configuration> <patchwork-settings-module>, <patchwork-configuration>): New record types. (patchwork-virtualhost): New procedure. (patchwork-service-type): New variable. * gnu/tests/web.scm (%test-patchwork): New variable. * doc/guix.text (Web Services): Document it. Christopher Baines