import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
"""
import os
-import sys
+
import TestSCons
_python_ = TestSCons._python_
"""
import os
-import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
Test the ability to configure the $ASPPCOM construction variable.
"""
-import sys
import TestSCons
_python_ = TestSCons._python_
"""
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
Verify correct use of the live 'ml' assembler.
"""
-import os
import string
import sys
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import sys
import TestSCons
_python_ = TestSCons._python_
packaged by Gary Oberbrunner.
"""
-import string
-
import TestSCons
_python_ = TestSCons._python_
import os
import stat
-import sys
+
import TestSCons
_exe = TestSCons._exe
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import sys
+
import TestSCons
import TestCmd
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import sys
+
import TestSCons
import TestCmd
"""
import os
-import sys
+
import TestSCons
_python_ = TestSCons._python_
"""
import os
-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
-import sys
+
import TestSCons
"""
"""
import os
-import sys
+
import TestSCons
_python_ = TestSCons._python_
"""
import os
-import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
if sys.platform == 'win32':
test.write('mylink.py', r"""
-import getopt
-import os
import sys
args = sys.argv[1:]
while args:
test.write('mylink.py', r"""
import getopt
-import os
import sys
opts, args = getopt.getopt(sys.argv[1:], 'o:s:')
for opt, arg in opts:
Test the ability to configure the $CXXCOM construction variable.
"""
-import sys
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
Test the ability to configure the $SHCXXCOM construction variable.
"""
-import sys
import TestSCons
_python_ = TestSCons._python_
the shared object C++ compilation output.
"""
-import sys
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import sys
import TestSCons
python = TestSCons.python
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
+
import TestSCons
python = TestSCons.python
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
-
import TestSCons
_exe = TestSCons._exe
__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
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import os
import string
import TestSCons
"""
import os
-import sys
+
import TestSCons
_python_ = TestSCons._python_
test.subdir(['work1', 'src'])
test.write(['work1', 'src', 'SConscript'], """
-import os
import os.path
def buildIt(target, source, env):
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import sys
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import TestSCons
-import sys
import os
-import TestCmd
+import sys
-test = TestSCons.TestSCons(match = TestCmd.match_re)
+import TestSCons
+
+test = TestSCons.TestSCons(match = TestSCons.match_re)
if sys.platform != 'win32':
msg = "Skipping test on non-Windows platform '%s'\n" % sys.platform
# Test the basics
test.write('SConstruct',"""
-import os.path
import os
env = Environment(CPPPATH = '${TARGET.dir}',
test.subdir('src','build')
test.write('src/SConscript',"""
-import os.path
-
Import('env')
local = env.Clone(WINDOWS_INSERT_DEF = 1)
import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
"""
import os
-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
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
"""
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
Test the ability to configure the $SHLINKCOM construction variable.
"""
-import sys
import TestSCons
_python_ = TestSCons._python_
import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
platform.
"""
-import string
-
import TestSCons
test = TestSCons.TestSCons()
of a precompiled header with the $CCFLAGS variable.
"""
-import os
import sys
import time
Test the PRINT_CMD_LINE_FUNC construction variable.
"""
-import sys
-import TestCmd
import TestSCons
_exe = TestSCons._exe
_obj = TestSCons._obj
-test = TestSCons.TestSCons(match = TestCmd.match_re)
+test = TestSCons.TestSCons(match = TestSCons.match_re)
test.write('SConstruct', r"""
"""
import TestSCons
-import os.path
_python_ = TestSCons._python_
_exe = TestSCons._exe
import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
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
-import string
import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import string
-import sys
-
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import string
-import sys
-
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import string
-import sys
-
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import string
-import sys
-
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import string
-import sys
-
import TestSCons
_python_ = TestSCons._python_
complexity is valuable in its own right.
"""
-import sys
-
import TestSCons
test = TestSCons.TestSCons()
###
experimenttop = r"%s"
-
import os
-import os.path
-import string
import Mylib
BStaticLibMerge = Builder(generator = Mylib.Gen_StaticLibMerge)
import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
Test the ability to configure the $TARCOM construction variable.
"""
-import sys
-
import TestSCons
_python_ = TestSCons._python_
import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
and that we can use this to wrap calls to the real latex utility.
"""
-import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
Validate that we can produce several .pdf at once from several sources.
"""
-import os
-
import TestSCons
_python_ = TestSCons._python_
Test the ability to configure the $LATEXCOM construction variable.
"""
-import sys
-
import TestSCons
_python_ = TestSCons._python_
the C compilation output.
"""
-import sys
-
import TestSCons
_python_ = TestSCons._python_
import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
and that we can use this to wrap calls to the real latex utility.
"""
-import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
Test the ability to configure the $PDFLATEXCOM construction variable.
"""
-import sys
-
import TestSCons
_python_ = TestSCons._python_
the C compilation output.
"""
-import sys
-
import TestSCons
_python_ = TestSCons._python_
import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
and that we can use this to wrap calls to the real latex utility.
"""
-import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
Test the ability to configure the $PDFTEXCOM construction variable.
"""
-import sys
-
import TestSCons
_python_ = TestSCons._python_
the C compilation output.
"""
-import sys
-
import TestSCons
_python_ = TestSCons._python_
import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
and that we can use this to wrap calls to the real latex utility.
"""
-import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
Test the ability to configure the $TEXCOM construction variable.
"""
-import sys
-
import TestSCons
_python_ = TestSCons._python_
the C compilation output.
"""
-import sys
-
import TestSCons
_python_ = TestSCons._python_
import os
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
and that we can use this to wrap calls to the real latex utility.
"""
-import os
-
import TestSCons
_python_ = TestSCons._python_
target name provided by the user.
"""
-import os
-
import TestSCons
_python_ = TestSCons._python_
and that we can use this to wrap calls to the real latex utility.
"""
-import os
-
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import re
-import sys
import TestSCons
import TestCmd
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import string
-import sys
+
import TestSCons
_exe = TestSCons._exe
test.subdir(['work1', 'src'])
test.write(['work1', 'src', 'SConscript'], """
-import os
import os.path
def buildIt(target, source, env):
__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 os
import stat
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
Test the ability to configure the $ZIPCOM construction variable.
"""
-import sys
-
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import re
-import sys
-import TestCmd
import TestSCons
_python_ = TestSCons._python_
-test = TestSCons.TestSCons(match = TestCmd.match_re_dotall)
+test = TestSCons.TestSCons(match = TestSCons.match_re_dotall)
SConstruct_path = test.workpath('SConstruct')
import os
import string
-import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-import sys
import TestSCons
test = TestSCons.TestSCons()
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import sys
+
import TestSCons
_python_ = TestSCons._python_
is added to targets.
"""
-import os
-
import TestSCons
python = TestSCons.python
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
+
import TestSCons
python = TestSCons.python
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import sys
+
import TestSCons
_python_ = TestSCons._python_
"""
import os
-import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
+
import TestSCons
_python_ = TestSCons._python_
import os.path
import string
-import sys
+
import TestSCons
_python_ = TestSCons._python_
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
+
import TestSCons
_python_ = TestSCons._python_
import os
import re
-import sys
-import TestCmd
import TestSCons
_python_ = TestSCons._python_
# test Configure-calls in conjunction with -n
test.subdir('configure')
-test.match_func = TestCmd.match_re_dotall
+test.match_func = TestSCons.match_re_dotall
test.write('configure/SConstruct',
"""def CustomTest(context):
def userAction(target,source,env):
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os.path
-import sys
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import sys
import string
import re
import time
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import string
-import sys
import TestSCons
test.write( 'file2.exe', "file2" )
test.write('SConstruct', """
-import os
-
env = Environment(tools=['default', 'packaging'])
f1 = env.Install( '/usr/' , 'file1.exe' )
test.write( 'file5.dll', "file5" )
test.write('SConstruct', """
-import os
env = Environment(tools=['default', 'packaging'])
f1 = env.Install( '/usr/' , 'file1.exe' )
f2 = env.Install( '/usr/' , 'file2.exe' )
using the signatures in an SConsignFile().
"""
-import os
import re
import TestSCons
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import os
-import sys
import TestSCons
""")
test.write(['sub1', 'SConscript'], """
-import sys
import testmod2 # This call did not work before the fix
""")
test.write('SConstruct', """
-import sys
import testmod1 # this always worked
SConscript('sub1/SConscript')
""")
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import string
-import sys
import TestSCons