summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2014-12-22 17:01:12 (GMT)
committerRussel Winder <russel@winder.org.uk>2014-12-22 17:01:12 (GMT)
commitd7715dc0190d7e1cf15907e47a0f71673c92bbce (patch)
tree6da4b9b7100e15313bf78f6e2454b4e4d84a7fed /test
parentfa591a7d900aced7d709e00f55c2b6c4d6c5e945 (diff)
downloadSCons-d7715dc0190d7e1cf15907e47a0f71673c92bbce.zip
SCons-d7715dc0190d7e1cf15907e47a0f71673c92bbce.tar.gz
SCons-d7715dc0190d7e1cf15907e47a0f71673c92bbce.tar.bz2
Putative solution to lakc of ncurses on one of the CI machines.
Diffstat (limited to 'test')
-rw-r--r--test/D/HSTeoh/Common/linkingProblem.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/D/HSTeoh/Common/linkingProblem.py b/test/D/HSTeoh/Common/linkingProblem.py
index 46351b3..ab096f2 100644
--- a/test/D/HSTeoh/Common/linkingProblem.py
+++ b/test/D/HSTeoh/Common/linkingProblem.py
@@ -29,7 +29,7 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-from os.path import abspath, dirname
+from os.path import abspath, dirname, exists
import sys
sys.path.insert(1, abspath(dirname(__file__) + '/../../Support'))
@@ -43,6 +43,9 @@ def testForTool(tool):
if not isExecutableOfToolAvailable(test, tool) :
test.skip_test("Required executable for tool '{0}' not found, skipping test.\n".format(tool))
+ if not exists('/usr/bin/tset'):
+ test.skip_test("ncurses not apparently installed, skip this test.")
+
test.dir_fixture('LinkingProblem')
test.write('SConstruct', open('SConstruct_template', 'r').read().format(tool))