nixpkgs/nixos
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
..
doc/manual nixos/test-driver: Make tesseract OCR optional. 2015-05-22 07:21:58 +02:00
lib nixos/test-driver: Make tesseract OCR optional. 2015-05-22 07:21:58 +02:00
maintainers nixos/initrd: Generic library copying 2015-03-28 18:37:29 -07:00
modules nixos/tinc: users are system users 2015-05-21 20:11:13 -07:00
tests nixos/test-driver: Make tesseract OCR optional. 2015-05-22 07:21:58 +02:00
COPYING Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
default.nix Fix nixos-option 2013-10-28 22:45:58 +01:00
README Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
release-combined.nix nixos/release: Add luksroot test to "tested" job. 2015-05-21 13:21:41 +02:00
release-small.nix Rename scrubDrv -> hydraJob and make it more effective 2015-03-20 19:46:18 +01:00
release.nix nixos/release: Add luksroot test to "tested" job. 2015-05-21 13:21:41 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.