nixpkgs/nixos/lib/test-driver
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
..
log2html.xsl nixos/test-reports: use local copy of jquery 2014-09-07 15:47:59 +02:00
logfile.css Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
Logger.pm Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
Machine.pm nixos/test-driver: Make tesseract OCR optional. 2015-05-22 07:21:58 +02:00
test-driver.pl test-driver: Set context to include machines created by createMachine 2014-05-21 15:55:50 +02:00
treebits.js Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00