me
/
guix
Archived
1
0
Fork 0

tests: base: Fix the screendump test.

* gnu/tests/base.scm (run-basic-test): Look for the screendump capture where
it has been saved, in the output directory.
master
Mathieu Othacehe 2021-09-27 20:07:16 +00:00
parent 98a62011b0
commit d27e871ebb
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 5 additions and 4 deletions

View File

@ -484,10 +484,11 @@ info --version")
(test-assert "screendump"
(begin
(marionette-control (string-append "screendump " #$output
"/tty1.ppm")
marionette)
(file-exists? "tty1.ppm")))
(let ((capture
(string-append #$output "/tty1.ppm")))
(marionette-control
(string-append "screendump " capture) marionette)
(file-exists? capture))))
(test-assert "screen text"
(let ((text (marionette-screen-text marionette