From: cournape Date: Wed, 3 Sep 2008 08:30:46 +0000 (+0000) Subject: Add CheckSHCC and CheckSHCXX. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=767b9b72f3cf0b9760eba6b6672a607142bc3456;p=scons.git Add CheckSHCC and CheckSHCXX. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3332 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- 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()