summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-09-03 08:30:46 (GMT)
committerDavid Cournapeau <cournape@gmail.com>2008-09-03 08:30:46 (GMT)
commita180479aa2b533e29f09d62ec4c82f1913a714dd (patch)
tree468763a7b92c96613d8357e58db460767235b0df /src
parent7df73d3a8dd2b3058c5d1bf2b4520706018ec010 (diff)
downloadSCons-a180479aa2b533e29f09d62ec4c82f1913a714dd.zip
SCons-a180479aa2b533e29f09d62ec4c82f1913a714dd.tar.gz
SCons-a180479aa2b533e29f09d62ec4c82f1913a714dd.tar.bz2
Add CheckSHCC and CheckSHCXX.
Diffstat (limited to 'src')
-rw-r--r--src/engine/SCons/SConfTests.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/engine/SCons/SConfTests.py b/src/engine/SCons/SConfTests.py
index c9d59a1..cef3889 100644
--- a/src/engine/SCons/SConfTests.py
+++ b/src/engine/SCons/SConfTests.py
@@ -349,6 +349,18 @@ int main() {
finally:
sconf.Finish()
+ def test_CheckSHCC(self):
+ """Test SConf.CheckSHCC()
+ """
+ self._resetSConfState()
+ sconf = self.SConf.SConf(self.scons_env,
+ conf_dir=self.test.workpath('config.tests'),
+ log_file=self.test.workpath('config.log'))
+ try:
+ self._test_check_compilers('SHCC', sconf.CheckSHCC, 'CheckSHCC')
+ finally:
+ sconf.Finish()
+
def test_CheckCXX(self):
"""Test SConf.CheckCXX()
"""
@@ -361,6 +373,18 @@ int main() {
finally:
sconf.Finish()
+ def test_CheckSHCXX(self):
+ """Test SConf.CheckSHCXX()
+ """
+ self._resetSConfState()
+ sconf = self.SConf.SConf(self.scons_env,
+ conf_dir=self.test.workpath('config.tests'),
+ log_file=self.test.workpath('config.log'))
+ try:
+ self._test_check_compilers('SHCXX', sconf.CheckSHCXX, 'CheckSHCXX')
+ finally:
+ sconf.Finish()
+
def test_CheckHeader(self):
"""Test SConf.CheckHeader()