summaryrefslogtreecommitdiff
path: root/src/engine/SCons/SConfTests.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-09-03 08:30:46 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-09-03 08:30:46 +0000
commiteffd717aa9963542137a4f503b7e1be643dae542 (patch)
tree468763a7b92c96613d8357e58db460767235b0df /src/engine/SCons/SConfTests.py
parent55cb26a0b9fad1ec24a73abda39cd0b1b3463d76 (diff)
downloadscons-effd717aa9963542137a4f503b7e1be643dae542.tar.gz
Add CheckSHCC and CheckSHCXX.
Diffstat (limited to 'src/engine/SCons/SConfTests.py')
-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 c9d59a15..cef38893 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()