1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/nixos/doc/manual/development
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
..
building-nixos.xml Chunk NixOS manual 2014-08-26 19:03:49 +02:00
building-parts.xml Chunk NixOS manual 2014-08-26 19:03:49 +02:00
development.xml manual: re-add running nixos tests sections 2015-04-21 02:28:59 -04:00
nixos-tests.xml manual: re-add running nixos tests sections 2015-04-21 02:28:59 -04:00
option-declarations.xml Chunk NixOS manual 2014-08-26 19:03:49 +02:00
option-def.xml Chunk NixOS manual 2014-08-26 19:03:49 +02:00
running-nixos-tests-interactively.xml manual: re-add running nixos tests sections 2015-04-21 02:28:59 -04:00
running-nixos-tests.xml manual: re-add running nixos tests sections 2015-04-21 02:28:59 -04:00
sources.xml Document the nixpkgs-channels repo 2015-05-20 14:20:53 +02:00
testing-installer.xml Chunk NixOS manual 2014-08-26 19:03:49 +02:00
writing-modules.xml Chunk NixOS manual 2014-08-26 19:03:49 +02:00
writing-nixos-tests.xml nixos/test-driver: Make tesseract OCR optional. 2015-05-22 07:21:58 +02:00