-
Notifications
You must be signed in to change notification settings - Fork 769
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
Fix issues with grouped tests #1107
Conversation
Hey @mikesheffler, this works now. If you review I can merge, and then you can merge in develop to see the effect on Windows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All we had to do was add namespace guards to all the global variables in the tests??? Sheesh, I'm kinda sad that #91 took this long to resolve. LGTM!!!
EXPECT(serializationTestHelpers::equalsObj(factor)); | ||
EXPECT(serializationTestHelpers::equalsXML(factor)); | ||
EXPECT(serializationTestHelpers::equalsBinary(factor)); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason we've killed these two tests?
// Export Noisemodels | ||
// See http://www.boost.org/doc/libs/1_32_0/libs/serialization/doc/special.html | ||
BOOST_CLASS_EXPORT(gtsam::noiseModel::Isotropic); | ||
BOOST_CLASS_EXPORT(gtsam::noiseModel::Unit); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah nvm my previous comment. I saw additional serialization tests being removed and then realized I should scroll down a bit.
Sorry, I've been tied up all day. In plain English, what's the goal here? Are we trying to get all of the unit tests working in this build, or just a select subset? I'm fine either way, but if the goal is to get everything going, I wonder if there might be some remaining issues. I pulled and then tried building everything, but I'm still seeing a bunch of build errors. I swear that this isn't sarcastic, but: Am I doing something wrong? I'm ...
That process does work for e.g. I thought maybe the GUI was hiding what I wanted, so I ...
Like the GUI-based approach, this does work for I saw in one of the commits above that @dellaert 's commit message was |
I get that :-)
Trying to resolve #91 and #1087, ultimately getting MATLAB and python wrappers working on windows. Borrowing from your little bird analogy, I propose using No, I don't think you're doing anything wrong if it works with base. What are the errors with check.geometry? Maybe paste them in #1087 , as we now closed this PR. I'll repeat this comment there. |
My $0.02: I made some great progress on fixing most of the dllexport issues, and only have geometry, nonlinear, sam and slam not passing. Except for geometry, every other failure is test failure which should be easier to debug than the dllexport issues. I'll create a PR so y'all can take a look. |
Fixes #91 and hopefully addresses some issues in #1102