[LNT] r231572 - Make awk, not gawk, the dependency for LNT
Renato Golin
renato.golin at linaro.org
Sat Mar 7 09:57:03 PST 2015
Author: rengolin
Date: Sat Mar 7 11:57:03 2015
New Revision: 231572
URL: http://llvm.org/viewvc/llvm-project?rev=231572&view=rev
Log:
Make awk, not gawk, the dependency for LNT
Modified:
lnt/trunk/lnt/tests/nt.py
Modified: lnt/trunk/lnt/tests/nt.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/tests/nt.py?rev=231572&r1=231571&r2=231572&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/nt.py (original)
+++ lnt/trunk/lnt/tests/nt.py Sat Mar 7 11:57:03 2015
@@ -1921,6 +1921,10 @@ def _tools_check():
if status > 0:
raise SystemExit("""error: yacc not available on your system.""")
+ status = call(["which", "awk"], stdout=FNULL, stderr=FNULL)
+ if status > 0:
+ raise SystemExit("""error: awk not available on your system.""")
+
status = call(["which", "groff"], stdout=FNULL, stderr=FNULL)
if status > 0:
raise SystemExit("""error: groff not available on your system.""")
More information about the llvm-commits
mailing list