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.
This commit is contained in:
parent
98a62011b0
commit
d27e871ebb
1 changed files with 5 additions and 4 deletions
|
@ -484,10 +484,11 @@ info --version")
|
||||||
|
|
||||||
(test-assert "screendump"
|
(test-assert "screendump"
|
||||||
(begin
|
(begin
|
||||||
(marionette-control (string-append "screendump " #$output
|
(let ((capture
|
||||||
"/tty1.ppm")
|
(string-append #$output "/tty1.ppm")))
|
||||||
marionette)
|
(marionette-control
|
||||||
(file-exists? "tty1.ppm")))
|
(string-append "screendump " capture) marionette)
|
||||||
|
(file-exists? capture))))
|
||||||
|
|
||||||
(test-assert "screen text"
|
(test-assert "screen text"
|
||||||
(let ((text (marionette-screen-text marionette
|
(let ((text (marionette-screen-text marionette
|
||||||
|
|
Reference in a new issue