diff options
author | David Cournapeau <cournape@gmail.com> | 2008-09-03 08:30:46 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-09-03 08:30:46 +0000 |
commit | effd717aa9963542137a4f503b7e1be643dae542 (patch) | |
tree | 468763a7b92c96613d8357e58db460767235b0df | |
parent | 55cb26a0b9fad1ec24a73abda39cd0b1b3463d76 (diff) | |
download | scons-effd717aa9963542137a4f503b7e1be643dae542.tar.gz |
Add CheckSHCC and CheckSHCXX.
-rw-r--r-- | src/engine/SCons/SConfTests.py | 24 |
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() |