From cbfd88ee85e2c9fea5d317cd236fa7fbe4fc59ec Mon Sep 17 00:00:00 2001 From: GregNoel Date: Wed, 10 Sep 2008 06:20:34 +0000 Subject: [PATCH] Fix bugs in regression tests git-svn-id: http://scons.tigris.org/svn/scons/trunk@3381 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- test/Glob/glob-libpath.py | 2 +- test/TEX/configure.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/test/Glob/glob-libpath.py b/test/Glob/glob-libpath.py index ef350691..37449e82 100644 --- a/test/Glob/glob-libpath.py +++ b/test/Glob/glob-libpath.py @@ -73,7 +73,7 @@ libutil = base_env.Library('util', Glob('*.cpp')) Return('libutil') """) -test.write(['src', 'util.cpp'], """int i=0; +test.write(['src', 'util', 'util.cpp'], """int i=0; """) test.run(arguments = '-Q .') diff --git a/test/TEX/configure.py b/test/TEX/configure.py index 9a6b80ba..23e317c4 100644 --- a/test/TEX/configure.py +++ b/test/TEX/configure.py @@ -37,6 +37,12 @@ _python_ = TestSCons._python_ test = TestSCons.TestSCons() +dvips = test.where_is('dvips') +latex = test.where_is('latex') + +if not dvips or not latex: + test.skip_test("Could not find dvips or latex; skipping test(s).\n") + NCR = test.NCR # non-cached rebuild #---------------- -- 2.26.2