[rtems-docs commit] waf: Add a program test for pygmentize.
Chris Johns
chrisj at rtems.org
Sun Nov 6 23:33:22 UTC 2016
Module: rtems-docs
Branch: master
Commit: ea91103855c1a1830b7c8401415882a73dbffcd7
Changeset: http://git.rtems.org/rtems-docs/commit/?id=ea91103855c1a1830b7c8401415882a73dbffcd7
Author: Chris Johns <chrisj at rtems.org>
Date: Mon Nov 7 10:33:17 2016 +1100
waf: Add a program test for pygmentize.
---
common/latex.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/common/latex.py b/common/latex.py
index acbd341..fc38552 100644
--- a/common/latex.py
+++ b/common/latex.py
@@ -134,6 +134,9 @@ def configure_tests(conf):
tests.remove(e)
fails = 0
+ r = conf.find_program("pygmentize", mandatory = False)
+ if r is None:
+ fails += 1
for t in tests:
r = conf.test(build_fun = build_latex_test,
msg = "Checking for Tex package '%s'" % (t),
More information about the vc
mailing list