From 57f774594e1ccfe549bcea8997d028b4ef5e2b14 Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 21 Sep 2017 08:39:33 +0200 Subject: Fix Windows C++ compiler detection in test scripts Visual Studio 2017 15.3.5 comes with VC++ 19.11 our script only handle up to VC++ 19.10. Fixed the code to handle this version and throw a proper exception if a unknown version is present --- scripts/Controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/Controller.py') diff --git a/scripts/Controller.py b/scripts/Controller.py index aa5ab422855..942845fe245 100755 --- a/scripts/Controller.py +++ b/scripts/Controller.py @@ -95,7 +95,7 @@ class ControllerDriver(Driver): return self.current.serverTestCase._startServerSide(self.current) except Exception as ex: self.serverSideRunning = False - raise Test.Common.TestCaseFailedException(self.current.result.getOutput() + "\n" + str(ex)) + raise Test.Common.TestCaseFailedException(self.current.result.getOutput() + "\n" + traceback.format_exc()) def stopServerSide(self, success, c): if self.serverSideRunning: -- cgit v1.2.3