Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit test failures on Mac #171

Closed
ramanathang5 opened this issue Mar 26, 2017 · 6 comments
Closed

Unit test failures on Mac #171

ramanathang5 opened this issue Mar 26, 2017 · 6 comments

Comments

@ramanathang5
Copy link

I have three unit test failures
6:test_TabulatedAerodynamicCoefficients
72:test_CowellStateDerivative
79:test_DependentVariableOutput
I use Mac OS X 10.12.2
Can I continue or will this have effect on the assignments ?

Thanks
LastTest.txt

@DominicDirkx
Copy link
Member

The test_CowellStateDerivative failure has been reported by various Mac users: #136.

The other two failures are related to an Earth atmosphere model. Is your download of the tudat bundle recent or are you using an older one? Do you see a folder 'nrlmsise-00' in your file tree in Qt creator?
image

@ramanathang5
Copy link
Author

Before I started the complete installation with new tudat bundle, I deleted the old tudat bundle which I had last year. I do not see that folder in the file tree.
1

@DominicDirkx
Copy link
Member

Could you attach you top-level CMakeLists.txt file, as well as your CMakeCache.txt file. The last one should be in your build folder (probably called qt-creator .... -build-..... or something like that, at the same level as the tudatBundle folder.

@ramanathang5
Copy link
Author

Here they are. However, I noticed now that 'nrlmsise-00' folder is in tudatBundle folder, but did not appear in the file tree.
screen shot 2017-03-26 at 16 53 02

CMakeLists.txt
CMakeCache.txt

@DominicDirkx
Copy link
Member

Strange... In line 409 of your CMakeCache.txt, you see the following line:

USE_NRLMSISE00:BOOL=OFF

Close Qt and change it to

USE_NRLMSISE00:BOOL=ON

Now reopen Qt, recompile all tests, run the tests and let us know what happens.

@ramanathang5
Copy link
Author

The test failures I mentioned was probably due to not clearing the "build-tudatBundle" folder I had from last year. Clearing that and running, I had the failure "dyld: Library not loaded: libboost_unit_test_framework-mt.dylib" during the Hello world application run. It was rectified by adding "set(Boost_USE_STATIC_LIBS ON)" in the CMakeLists.txt. Only test failure now is "test_CowellStateDerivative".
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants