nixpkgs/nixos/lib
aszlig 8be00dc71d
nixos/test-driver: Make tesseract OCR optional.
By default this is now enabled, and it has to be explicitely enabled
using "enableOCR = true". If it is set to false, any usage of
getScreenText or waitForText will fail with an error suggesting to pass
enableOCR.

This should get rid of the rather large dependency on tesseract which
we don't need for most tests.

Note, that I'm using system("type -P") here to check whether tesseract
is in PATH. I know it's a bashism but we already have other bashisms
within the test scripts and we also run it with bash, so IMHO it's not a
problem here.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-05-22 07:21:58 +02:00
..
test-driver nixos/test-driver: Make tesseract OCR optional. 2015-05-22 07:21:58 +02:00
build-vms.nix In a test VM it's impossible to connect to itself, so fix this 2015-02-19 21:13:49 +00:00
channel-expr.nix Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
eval-config.nix Document and rename internal option of modules. 2015-03-15 14:45:42 +01:00
from-env.nix Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
make-iso9660-image.nix nixos: iso-image: use syslinux bootloader for USB booting support 2015-03-24 22:01:04 +01:00
make-iso9660-image.sh nixos: iso-image: filename escaping in xorriso 2015-03-24 22:01:51 +01:00
make-squashfs.nix Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
make-system-tarball.nix nixos/make-system-tarball: extra commands to be executed before archive 2014-12-11 23:17:27 +01:00
make-system-tarball.sh nixos/make-system-tarball: extra commands to be executed before archive 2014-12-11 23:17:27 +01:00
nixpkgs.nix Terrible backward compatibility hack 2013-10-11 13:36:09 +02:00
qemu-flags.nix Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
testing.nix nixos/test-driver: Make tesseract OCR optional. 2015-05-22 07:21:58 +02:00
utils.nix nixos/utils: Don't remove first character if not a / 2014-09-03 18:40:05 -07:00