"""
import os
-import string
import sys
import TestSCons
"""
import os
-import string
import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
import string
import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
import string
import sys
import TestSCons
Test the ability to configure the $ASPPCOM construction variable.
"""
-import os
-import string
import sys
import TestSCons
the displayed assembler string.
"""
-import os
import string
import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
import string
import sys
import TestSCons
""")
test.write('SConstruct', """
-import os.path
env=Environment()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import stat
import sys
import TestSCons
it's not).
"""
-import string
-
import TestSCons
test = TestSCons.TestSCons()
command-line option with an optional argument value.
"""
-import string
-
import TestSCons
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
-import sys
import TestSCons
-import TestCmd
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
-import sys
import TestSCons
-import TestCmd
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
-import sys
import TestSCons
-import TestCmd
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import sys
+
import TestSCons
test = TestSCons.TestSCons()
"""
import os
-import string
import sys
import TestSCons
"""
import os
-import string
import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import string
import sys
import TestSCons
"""
import os
-import string
import sys
import TestSCons
"""
import os
-import os.path
import string
import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
test = TestSCons.TestSCons()
test.write('mycc.py', r"""
-import string
import sys
def do_file(outf, inf):
for line in open(inf, 'rb').readlines():
"""
import os
-import os.path
import TestSCons
Test the ability to configure the $CXXCOM construction variable.
"""
-import os
-import string
import sys
import TestSCons
the C++ compilation output.
"""
-import os
-import string
-import sys
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import string
import sys
import TestSCons
Test the ability to configure the $SHCXXCOM construction variable.
"""
-import os
-import string
import sys
import TestSCons
the shared object C++ compilation output.
"""
-import os
-import string
import sys
import TestSCons
build of the file completes and we push it out.
"""
-import os
-
import TestSCons
test = TestSCons.TestSCons(match=TestSCons.match_re)
"""
import os
-import os.path
import TestSCons
"""
sconstruct = """
-import os
CacheDir(r'%s')
Program('foo', 'foo.c')
""" % test.workpath('cache')
"""
import os
-import os.path
import stat
import TestSCons
Verify the ConfigureDryRunError.
"""
-import os.path
+import os
import TestSCons
Verify that Configure contexts work with basic use of VariantDir.
"""
-import os.path
+import os
import TestSCons
Verify that the cache mechanism works when checks are not ok.
"""
-import os.path
-
import TestSCons
_exe = TestSCons._exe
-c or --clean options have been specified.
"""
-import string
-
import TestSCons
test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)
-H, -h or --help options have been specified.
"""
-import string
-
import TestSCons
test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)
"""
import os
-import os.path
-import sys
import stat
+import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import string
-import sys
+
import TestSCons
_exe = TestSCons._exe
test = TestSCons.TestSCons()
test.write('mydc.py', r"""
-import string
import sys
def do_file(outf, inf):
for line in open(inf, 'rb').readlines():
Note that using BuildDir() does not yet print a deprecation warning.
"""
-import os.path
import string
-import sys
-import time
+
import TestSCons
_exe = TestSCons._exe
"""
import os
-import os.path
import string
import TestSCons
test.write(['bin', 'opts.cfg'], """\
import os
-import os.path
os.chdir(os.path.split(__name__)[0])
execfile('opts2.cfg')
""")
import os.path
import re
-import string
try:
True, False
"""
test.write(['bin', 'opts.cfg'], """\
-import sys
from local_options import VARIABLE
""" % locals())
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import re
import TestSCons
"""
import os
-import os.path
import re
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import TestSCons
import TestSConsign
"""
import TestSCons
-import sys
-import re
-import time
test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)
that indicates the state of various Node status flags.
"""
-import TestSCons
-import sys
import string
-import re
-import time
+
+import TestSCons
test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)
"""
import TestSCons
-import sys
-import re
-import time
test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)
change in any file under that directory should trigger a rebuild.
"""
-import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import string
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import string
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import string
import TestSCons
test = TestSCons.TestSCons()
test.write('myfc.py', r"""
-import string
import sys
def do_file(outf, inf):
for line in open(inf, 'rb').readlines():
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
Test output should not contain -Lsrc/util.
"""
-import TestCmd
import TestSCons
test = TestSCons.TestSCons()
import TestSCons
import sys
-import os.path
import os
import TestCmd
-import time
test = TestSCons.TestSCons(match = TestCmd.match_re)
import os.path
import string
-import sys
import time
+
import TestSCons
test = TestSCons.TestSCons()
"""
import os.path
-import sys
+
import TestSCons
test = TestSCons.TestSCons()
"""
import os.path
-import string
-import sys
-import time
+
import TestSCons
test = TestSCons.TestSCons()
"""
import os.path
-import sys
+
import TestSCons
test = TestSCons.TestSCons()
added to the source file.
"""
-import string
-
import TestSCons
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import string
import sys
import TestSCons
"""
import os
-import os.path
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os.path
+import os
import string
import TestSCons
"""
import os
-import os.path
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
"""
import os
-import os.path
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
"""
import os
-import os.path
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
import os
import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
test = TestSCons.TestSCons()
test.write('myrmic.py', r"""
-import os.path
+import os
import sys
args = sys.argv[1:]
while args:
capabilities of the various Java Builders.
"""
+import os
+
import TestSCons
test = TestSCons.TestSCons()
# a SampleTest.class file, while others do. Only issue a warning if
# it doesn't exist.
p = test.workpath('buildout', 'jni', 'SampleTest.class')
-import os.path
if not os.path.exists(p):
print 'Warning: %s does not exist' % p
"""
import os
-import os.path
-import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import string
import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import string
import sys
import TestSCons
Test the ability to configure the $LINKCOM construction variable.
"""
-import os
-import string
-import sys
import TestSCons
_python_ = TestSCons._python_
the displayed linker string.
"""
-import os
import string
import sys
import TestSCons
Test the ability to configure the $SHLINKCOM construction variable.
"""
-import os
-import string
import sys
import TestSCons
the displayed linker string for programs using shared libraries.
"""
-import os
-import string
-import sys
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import TestSCons
-import sys
import os.path
import time
+import TestSCons
+
_exe = TestSCons._exe
_dll = TestSCons._dll
dll_ = TestSCons.dll_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import sys
+
import TestSCons
_lib = TestSCons._dll
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import sys
+
import TestSCons
dll_ = TestSCons.dll_
import string
import sys
-import TestCmd
import TestSCons
test = TestSCons.TestSCons()
"""
import os
-import os.path
import string
import sys
import TestSCons
-#!/usr/bin/env python\r
-#\r
-# __COPYRIGHT__\r
-#\r
-# Permission is hereby granted, free of charge, to any person obtaining\r
-# a copy of this software and associated documentation files (the\r
-# "Software"), to deal in the Software without restriction, including\r
-# without limitation the rights to use, copy, modify, merge, publish,\r
-# distribute, sublicense, and/or sell copies of the Software, and to\r
-# permit persons to whom the Software is furnished to do so, subject to\r
-# the following conditions:\r
-#\r
-# The above copyright notice and this permission notice shall be included\r
-# in all copies or substantial portions of the Software.\r
-#\r
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY\r
-# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\r
-# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r
-# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r
-# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
-# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
-#\r
-\r
-__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"\r
-\r
-"""\r
-# Test error reporting\r
-"""\r
-\r
-import re\r
-import sys\r
-\r
-import TestSCons\r
-\r
-test = TestSCons.TestSCons(match = TestSCons.match_re)\r
-\r
-if sys.platform != 'win32':\r
- msg = "Skipping Visual C/C++ test on non-Windows platform '%s'\n" % sys.platform\r
- test.skip_test(msg)\r
-\r
-\r
-\r
-SConstruct_path = test.workpath('SConstruct')\r
-\r
-test.write(SConstruct_path, """\\r
-env = Environment()\r
-env['PDB'] = File('test.pdb')\r
-env['PCH'] = env.PCH('StdAfx.cpp')[0]\r
-if int(ARGUMENTS.get('SET_PCHSTOP')):\r
- env['PCHSTOP'] = File('StdAfx.h')\r
-env.Program('test', 'test.cpp')\r
-""")\r
-\r
-\r
-\r
-expect_stderr = r'''\r
-scons: \*\*\* The PCHSTOP construction must be defined if PCH is defined.\r
-File "%s", line \d+, in \?\r
-''' % re.escape(SConstruct_path)\r
-\r
-test.run(arguments='SET_PCHSTOP=0', status=2, stderr=expect_stderr)\r
-\r
-\r
-\r
-expect_stderr = r'''\r
-scons: \*\*\* The PCHSTOP construction variable must be a string: .+\r
-File "%s", line \d+, in \?\r
-''' % re.escape(SConstruct_path)\r
-\r
-test.run(arguments='SET_PCHSTOP=1', status=2, stderr=expect_stderr)\r
-\r
-\r
-\r
-test.pass_test()\r
+#!/usr/bin/env python
+#
+# __COPYRIGHT__
+#
+# Permission is hereby granted, free of charge, to any person obtaining
+# a copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+
+__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
+
+"""
+# Test error reporting
+"""
+
+import re
+import sys
+
+import TestSCons
+
+test = TestSCons.TestSCons(match = TestSCons.match_re)
+
+if sys.platform != 'win32':
+ msg = "Skipping Visual C/C++ test on non-Windows platform '%s'\n" % sys.platform
+ test.skip_test(msg)
+
+
+
+SConstruct_path = test.workpath('SConstruct')
+
+test.write(SConstruct_path, """\
+env = Environment()
+env['PDB'] = File('test.pdb')
+env['PCH'] = env.PCH('StdAfx.cpp')[0]
+if int(ARGUMENTS.get('SET_PCHSTOP')):
+ env['PCHSTOP'] = File('StdAfx.h')
+env.Program('test', 'test.cpp')
+""")
+
+
+
+expect_stderr = r'''
+scons: \*\*\* The PCHSTOP construction must be defined if PCH is defined.
+File "%s", line \d+, in \?
+''' % re.escape(SConstruct_path)
+
+test.run(arguments='SET_PCHSTOP=0', status=2, stderr=expect_stderr)
+
+
+
+expect_stderr = r'''
+scons: \*\*\* The PCHSTOP construction variable must be a string: .+
+File "%s", line \d+, in \?
+''' % re.escape(SConstruct_path)
+
+test.run(arguments='SET_PCHSTOP=1', status=2, stderr=expect_stderr)
+
+
+
+test.pass_test()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import re
import sys
import time
"""
import os
-import os.path
import sys
-import TestCmd
import TestSConsMSVS
test = TestSConsMSVS.TestSConsMSVS()
"""
import os
-import os.path
import sys
-import TestCmd
import TestSConsMSVS
test = TestSConsMSVS.TestSConsMSVS()
# it sees the failure from the first script.
test.write('myfail.py', r"""\
-import os.path
+import os
import sys
import time
while not os.path.exists('mycopy.started'):
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
-import sys
-
-import TestCmd
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
-import string
import sys
-import TestSCons
import time
+import TestSCons
+
test = TestSCons.TestSCons()
if sys.platform != 'win32':
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import sys
import TestSCons
_exe = TestSCons._exe
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
import time
+
import TestSCons
_exe = TestSCons._exe
test.write('SConstruct', """
import os
-import os.path
def DoWithVariables(variables, prefix, what):
saved_variables = { }
"""
import os
-import re
import string
import sys
test.write('SConstruct', """\
import os
-import sys
aa=os.getcwd()
env=Environment(tools=['default','expheaders','qt'],toolpath=[aa])
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import string
import sys
import TestSCons
Test explicit checkouts from local RCS files.
"""
-import os.path
-
import TestSCons
test = TestSCons.TestSCons()
Test transparent RCS checkouts from an RCS subdirectory.
"""
-import os.path
+import os
import TestSCons
Test explicit checkouts from local RCS files.
"""
-import os.path
+import os
import TestSCons
Test transparent RCS checkouts from an RCS subdirectory.
"""
-import os.path
+import os
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
+
import TestSCons
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
+
import TestSCons
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
+
import TestSCons
test = TestSCons.TestSCons()
"""
import os
-import string
-import sys
+
import TestSCons
python = TestSCons.python
"""
import os
-import string
-import sys
+
import TestSCons
python = TestSCons.python
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
+
import TestSCons
test = TestSCons.TestSCons()
"""
import os
-import os.path
import string
import sys
import TestSCons
import string
import sys
-import TestCmd
import TestSCons
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
+
import TestSCons
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
-import string
import sys
+
import TestSCons
python = TestSCons.python
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
+
import TestSCons
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
+
import TestSCons
test = TestSCons.TestSCons()
to a Repository and vice versa.
"""
-import sys
import TestSCons
_exe = TestSCons._exe
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
import TestSCons
import os
-import string
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import sys
import TestSCons
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import sys
import TestSCons
test = TestSCons.TestSCons()
Verify that we can use ${SOURCE} expansions in $SWIGFLAGS.
"""
-import sys
-
import TestSCons
test = TestSCons.TestSCons()
that Java files are created in the specified output directory.
"""
-import sys
-
import TestSCons
test = TestSCons.TestSCons()
Verify that SWIG implicit dependencies are caught.
"""
-import sys
-
import TestSCons
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import string
-import sys
import TestSCons
python = TestSCons.python
complexity is valuable in its own right.
"""
-import os.path
import sys
-import TestCmd
import TestSCons
test = TestSCons.TestSCons()
"""
import os.path
-import string
import TestSCons
Verify that a directory (Dir()) works as a SideEffect() "target."
"""
-import os.path
-import string
-
import TestSCons
test = TestSCons.TestSCons()
"""
import os
-import stat
import TestSCons
test.subdir('sub', 'sub2')
test.write('SConstruct', """\
-import os.path
+import os
def cat(env, source, target):
target = str(target[0])
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import string
import sys
import TestSCons
Test the ability to configure the $TARCOM construction variable.
"""
-import os
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import string
import sys
import TestSCons
"""
import os
-import os.path
import string
import sys
import TestSCons
"""
import os
-import os.path
-import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
Test the ability to configure the $LATEXCOM construction variable.
"""
-import os
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
the C compilation output.
"""
-import os
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import string
import sys
import TestSCons
"""
import os
-import os.path
import string
import sys
import TestSCons
Test the ability to configure the $PDFLATEXCOM construction variable.
"""
-import os
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
the C compilation output.
"""
-import os
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import string
import sys
import TestSCons
"""
import os
-import os.path
import string
import sys
import TestSCons
Test the ability to configure the $PDFTEXCOM construction variable.
"""
-import os
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
the C compilation output.
"""
-import os
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import string
import sys
import TestSCons
"""
import os
-import os.path
import string
import sys
import TestSCons
Test the ability to configure the $TEXCOM construction variable.
"""
-import os
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
the C compilation output.
"""
-import os
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import string
import sys
import TestSCons
"""
import os
-import os.path
-import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
"""
import os
-import os.path
-import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
"""
import os
-import os.path
-import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
import re
import sys
+
import TestSCons
import TestCmd
"""
import os
-import os.path
import string
import TestSCons
test.write(['bin', 'opts.cfg'], """\
import os
-import os.path
os.chdir(os.path.split(__name__)[0])
execfile('opts2.cfg')
""")
"""
import os.path
-import string
try:
True, False
"""
test.write(['bin', 'opts.cfg'], """\
-import sys
from local_options import VARIABLE
""" % locals())
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os.path
import string
import sys
-import time
import TestSCons
_exe = TestSCons._exe
"""
import os
-import os.path
import stat
import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import string
import sys
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
-import string
import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import TestSCons
-import sys
-import os.path
import os
-import TestCmd
-import time
import string
+import sys
+
+import TestSCons
+import TestCmd
test = TestSCons.TestSCons(match = TestCmd.match_re_dotall)
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import string
import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import string
import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import stat
import string
import sys
Test the ability to configure the $ZIPCOM construction variable.
"""
-import os
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
import TestSCons
import os
-import os.path
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
import re
import sys
-import TestSCons
+
import TestCmd
+import TestSCons
_python_ = TestSCons._python_
"""
import os.path
-import sys
-import time
+
import TestSCons
_exe = TestSCons._exe
that contain a list of function Actions.
"""
-import os.path
-import string
-import sys
import TestSCons
_python_ = TestSCons._python_
Verify that the --debug=explain information gets saved by default.
"""
-import os.path
-import string
-import sys
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
-import re
-import string
import sys
-import TestCmd
import TestSCons
_python_ = TestSCons._python_
is added to targets.
"""
+import os
+
import TestSCons
python = TestSCons.python
open(sys.argv[1], 'w').write('''\
#!/usr/bin/env %(python)s
-import os.path
+import os
import string
import sys
fp = open(sys.argv[1], 'wb')
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
-import string
import sys
+
import TestSCons
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import TestSCons
+import os
import string
-import sys
-import os.path
import types
+import TestSCons
+
def match_normcase(lines, matches):
if not type(lines) is types.ListType:
lines = string.split(lines, "\n")
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import string
-import sys
import os
-import os.path
import stat
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os.path
import os
-import string
import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
Test various uses of the -c (clean) option.
"""
-import os.path
+import os
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
+import os
+
import TestSCons
-import os.path
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
import re
-import string
import sys
+
import TestCmd
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import TestCmd
import TestSCons
-import string
-import sys
test = TestSCons.TestSCons()
import TestCmd
import TestSCons
-import re
-import string
-import sys
test = TestSCons.TestSCons(match = TestCmd.match_re)
Test that the --debug=count option works.
"""
-import TestSCons
-import sys
import string
import re
-import time
+
+import TestSCons
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import sys
-import string
-import re
-import time
-
import TestSCons
_python_ = TestSCons._python_
"""
import TestSCons
-import sys
-import re
-import time
test = TestSCons.TestSCons()
Test that the --debug=memory option works.
"""
-import TestSCons
-import sys
-import string
import re
-import time
+import string
+
+import TestSCons
test = TestSCons.TestSCons()
"""
import TestSCons
-import sys
-import string
-import re
-import time
test = TestSCons.TestSCons()
import TestSCons
import sys
import string
-import re
-import time
test = TestSCons.TestSCons()
"""
import TestSCons
-import sys
-import re
-import time
test = TestSCons.TestSCons()
Issue 1363: http://scons.tigris.org/issues/show_bug.cgi?id=1363
"""
-import sys
-
import TestSCons
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import sys
test = TestSCons.TestSCons()
Furthermore that targz is the default packager is tested.
"""
-import os
import TestSCons
python = TestSCons.python
of FindInstalledFiles() in conjuction with .msi packages.
"""
-import os
import TestSCons
python = TestSCons.python
Test the ability to create a simple msi package.
"""
-import os
import TestSCons
python = TestSCons.python
Test the ability to create a rpm package from a explicit target name.
"""
-import os
import TestSCons
_python_ = TestSCons._python_
- create a tar package from the specified files
"""
-import os
import TestSCons
python = TestSCons.python
- create a targz package containing the specified files.
"""
-import os
import TestSCons
python = TestSCons.python
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
+
import TestSCons
test = TestSCons.TestSCons()
import os
import re
import string
-import sys
import TestCmd
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
import TestSCons
_python_ = TestSCons._python_
"""
import os
-import os.path
import re
import string
"""
import os.path
-import re
-import sys
if not hasattr(os.path, 'pardir'):
os.path.pardir = '..'
import os.path
-import TestCmd
import TestRuntest
test_fail_py = os.path.join('test', 'fail.py')
Verify specifying an alternate SCons through a config file.
"""
-import os
import TestSCons_time
the appropriate error message and exits non-zero.
"""
-import os
import TestSCons_time
Test that we get proper warnings when .sconsign* files are corrupt.
"""
-import os
import TestSCons
import TestCmd
import cPickle
info in them (which have different BuildInfo entries).
"""
-import os.path
+import os
import re
import TestSCons
"""
-import sys
import TestSCons
_exe = TestSCons._exe
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import os.path
-import re
-import string
import sys
-import TestCmd
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
import string
import sys
import imp
import os
-import os.path
import TestSCons
"""
import os.path
-import sys
-import time
+
import TestSCons
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
-import time
+
import TestSCons
test = TestSCons.TestSCons()