diff options
author | Steven Knight <knight@baldmt.com> | 2005-05-08 02:02:45 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-05-08 02:02:45 (GMT) |
commit | fba12a94d3d00e58e82aab25865b5d2da7466e88 (patch) | |
tree | 06e447604e9bd1ecb82ff0c2182b8698dcdc1d92 /test | |
parent | b38acff111056cb09789d864e011837c43ebee35 (diff) | |
download | SCons-fba12a94d3d00e58e82aab25865b5d2da7466e88.zip SCons-fba12a94d3d00e58e82aab25865b5d2da7466e88.tar.gz SCons-fba12a94d3d00e58e82aab25865b5d2da7466e88.tar.bz2 |
Add support for 64-bit Intel 9.0 beta compiler on Linux. (Gary Oberbrunner)
Diffstat (limited to 'test')
-rw-r--r-- | test/import.py | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/test/import.py b/test/import.py index 5bf2042..9c25ada 100644 --- a/test/import.py +++ b/test/import.py @@ -135,10 +135,23 @@ tools = [ 'zip', ] -intel_license_warning = """ +intel_warnings = [ + # License warning. + """ scons: warning: Intel license dir was not found. Tried using the INTEL_LICENSE_FILE environment variable (), the registry () and the default path (C:\Program Files\Common Files\Intel\Licenses). Using the default path as a last resort. File "SConstruct", line 1, in ? -""" +""", + # No top dir warning, 32 bit version. + """ +scons: warning: Can't find Intel compiler top dir for version='None', abi='ia32' +File "SConstruct", line 1, in ? +""", + # No top dir warning, 64 bit version. + """ +scons: warning: Can't find Intel compiler top dir for version='None', abi='x86_64' +File "SConstruct", line 1, in ? +""", +] moc = test.where_is('moc') if moc: @@ -154,9 +167,9 @@ File "SConstruct", line 1, in ? """ error_output = { - 'icl' : intel_license_warning, - 'intelc' : intel_license_warning, - 'qt' : qt_err, + 'icl' : intel_warnings, + 'intelc' : intel_warnings, + 'qt' : [qt_err], } # An SConstruct for importing Tool names that have illegal characters @@ -183,7 +196,7 @@ for tool in tools: test.write('SConstruct', direct_import % (tool, tool, tool)) test.run(stderr=None) stderr = test.stderr() - if stderr != '' and stderr != error_output.get(tool, ''): + if not stderr in [''] + error_output.get(tool, []): print "Failed importing '%s', stderr:" % tool print stderr failures.append(tool) |