guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scheme test driver should use ‘write’


From: Ludovic Courtès
Subject: Scheme test driver should use ‘write’
Date: Sun, 22 May 2016 22:36:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi!

I just noticed that our fancy ‘build-aux/test-driver.scm’ uses ‘display’
instead of ‘write’ to write test values.

So for instance, in tests/gremlin.log, we have:

--8<---------------cut here---------------start------------->8---
test-name: expand-origin

[...]

expected-value: (OOO/../lib OOO ../OOO/bar/OOO/baz ORIGIN/foo)
--8<---------------cut here---------------end--------------->8---

… where we’d instead prefer to see:

--8<---------------cut here---------------start------------->8---
expected-value: ("OOO/../lib" "OOO" "../OOO/bar/OOO/baz" "ORIGIN/foo")
--8<---------------cut here---------------end--------------->8---

I figured I’d let you look into it.  :-)
No rush though.

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]