You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a standard Ubuntu 13.10-setup the CombinedUnitests fails with errors referring to boost lexical cast:
$ ./unittests/combined/combined_unittest
Running 127 test cases...
unknown location(0): fatal error in "parseExposedModelDocument": std::bad_cast: bad lexical cast: source type value could not be interpreted as target
/home/kjetilo/projects/tinia/unittests/modelxml/ExposedModelTest.cpp(479): last checkpoint
unknown location(0): fatal error in "getExposedModelUpdate": std::bad_cast: bad lexical cast: source type value could not be interpreted as target
/home/kjetilo/projects/tinia/unittests/modelxml/ExposedModelTest.cpp(635): last checkpoint
unknown location(0): fatal error in "getExposedModelUpdate2": std::bad_cast: bad lexical cast: source type value could not be interpreted as target
/home/kjetilo/projects/tinia/unittests/modelxml/ExposedModelTest.cpp(635): last checkpoint
unknown location(0): fatal error in "getExposedModelUpdate3": std::bad_cast: bad lexical cast: source type value could not be interpreted as target
/home/kjetilo/projects/tinia/unittests/modelxml/ExposedModelTest.cpp(635): last checkpoint
unknown location(0): fatal error in "getExposedModelUpdate4": std::bad_cast: bad lexical cast: source type value could not be interpreted as target
/home/kjetilo/projects/tinia/unittests/modelxml/ExposedModelTest.cpp(635): last checkpoint
unknown location(0): fatal error in "getExposedModelUpdateForMatrix": std::bad_cast: bad lexical cast: source type value could not be interpreted as target
/home/kjetilo/projects/tinia/unittests/modelxml/ExposedModelTest.cpp(635): last checkpoint
unknown location(0): fatal error in "updateState": std::bad_cast: bad lexical cast: source type value could not be interpreted as target
/home/kjetilo/projects/tinia/unittests/modelxml/ExposedModelTest.cpp(635): last checkpoint
(... renderlistoutput left out...)
*** 7 failures detected in test suite "CombinedTest"
while setting the LC_NUMERIC to en_US.UTF-8 works, i.e. running the program as LC_NUMERIC="en_US.UTF-8" ./unittests/combined/combined_unittest
Also running the modelxml_unittest seperately does not exhibit the same errors.
The text was updated successfully, but these errors were encountered:
Kinda, but the weird thing is that it doesn't happen when we run the modelxml-unittests isolated. So the locale must be changed before it reaches the modelxml-unittests somehow.
So to repeat:
modelxml_unittest runs without errors
combined_unittest gives 7 errors from the modelxml-unittests
LC_NUMERIC="en_US.UTF-8" combined_unittest runs without errors
On a standard Ubuntu 13.10-setup the CombinedUnitests fails with errors referring to boost lexical cast:
while setting the LC_NUMERIC to
en_US.UTF-8
works, i.e. running the program asLC_NUMERIC="en_US.UTF-8" ./unittests/combined/combined_unittest
Also running the modelxml_unittest seperately does not exhibit the same errors.
The text was updated successfully, but these errors were encountered: