summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2014-12-22 17:01:12 +0000
committerRussel Winder <russel@winder.org.uk>2014-12-22 17:01:12 +0000
commit7d9095eaf89bc5cfc0229859044eb2749e77d586 (patch)
tree6da4b9b7100e15313bf78f6e2454b4e4d84a7fed
parente3c032d2ac97f2d7199a6fcaa8f56194a0c8189d (diff)
downloadscons-7d9095eaf89bc5cfc0229859044eb2749e77d586.tar.gz
Putative solution to lakc of ncurses on one of the CI machines.
-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 46351b35..ab096f24 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))