;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2022 Maxim Cournoyer . ;;; Copyright © 2023 Bruno Victal ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu tests vnc) #:use-module (gnu bootloader) #:use-module (gnu bootloader grub) #:use-module (gnu packages) #:use-module (gnu packages ocr) #:use-module (gnu pac
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>2017-03-11 16:18:44 +1000
committerBen Woodcroft <donttrustben@gmail.com>2017-03-12 10:28:06 +1000
commit362ea0dc2992442321c39700264415975360611e (patch)
treef018523cdc7cc5b59a85848e7bca8e84f4be0429 /gnu/packages/mc.scm
parentaa890f6185063bd3000a13ca9a3632d4dc1cabea (diff)
downloadguix-362ea0dc2992442321c39700264415975360611e.tar.gz
guix-362ea0dc2992442321c39700264415975360611e.zip
gnu: Add r-rcppprogress.
* gnu/packages/statistics.scm (r-rcppprogress): New variable. Signed-off-by: Ben Woodcroft <donttrustben@gmail.com>
Diffstat (limited to 'gnu/packages/mc.scm')
0 files changed, 0 insertions, 0 deletions
marionette)) (test-group "vnc lands on the gdm login screen" ;; This test runs vncviewer on the local VM and verifies that it ;; manages to access the GDM login screen (via XDMCP). (define (ratpoison-abort) (marionette-control "sendkey ctrl-g" marionette)) (define (ratpoison-help) (marionette-control "sendkey ctrl-t" marionette) (marionette-type "?" marionette) (sleep 1)) ;wait for help screen to appear (define (ratpoison-exec command) (marionette-control "sendkey ctrl-t" marionette) (marionette-type "!" marionette) (marionette-type (string-append command "\n") marionette)) ;; Wait until the ratpoison help screen can be displayed; this ;; means the window manager is ready. ;; XXX: The letters are half of the height preferred by ;; GNU Ocrad, scale it by 2. (test-assert "window manager is ready" (wait-for-screen-text marionette (cut string-contains <> "key bindings") #:ocr #$ocr #:ocr-arguments '("--scale=2") #:pre-action ratpoison-help #:post-action ratpoison-abort)) ;; Run vncviewer and expect the GDM login screen (accessed via ;; XDMCP). This can take a while to appear on slower machines. (ratpoison-exec "vncviewer localhost:5905") (test-assert "GDM login screen ready" ;; XXX: The '--invert' argument as the sole option to GNU ;; Ocrad is required for it to recognize "Guix" from the ;; background image. 'Username' from the UI would be a better ;; choice but is not recognized at all. (wait-for-screen-text marionette (cut string-contains <> "Guix") #:ocr #$ocr #:ocr-arguments '("--invert") #:timeout 120))) ;for slow systems (test-end))))) (gexp->derivation "xvnc-test" test)) (define %test-xvnc (system-test (name "xvnc") (description "Basic tests for the Xvnc service. One of the tests validate that XDMCP works with GDM, and is therefore heavy in terms of disk and memory requirements.") (value (run-xvnc-test))))