-
Notifications
You must be signed in to change notification settings - Fork 42
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
Disable failing VideoEncoder and Audioecoder tests on Windows #149
Conversation
Signed-off-by: Louise Poubel <[email protected]>
Codecov Report
@@ Coverage Diff @@
## ign-common3 #149 +/- ##
===============================================
- Coverage 75.87% 75.86% -0.02%
===============================================
Files 69 69
Lines 9758 9770 +12
===============================================
+ Hits 7404 7412 +8
- Misses 2354 2358 +4
Continue to review full report at Codecov.
|
Signed-off-by: Louise Poubel <[email protected]>
@osrf-jenkins retest this please |
@osrf-jenkins run tests please |
Seems like the test is still failing on Windows, re-running tests for now, and then will look more into it after |
Signed-off-by: Louise Poubel <[email protected]>
Interesting, it's saying |
Yeah this doesn't fix the issue... For some reason the temp file can't be deleted on Windows... If no one has a good idea for a fix, I suggest we comment out the test on Windows for now |
No suggestion on fixing, but I would prefer to use the macro: https://github.com/ignitionrobotics/ign-cmake/blob/ign-cmake2/include/ignition/utilities/ExtraTestMacros.hh#L28 |
Signed-off-by: Louise Poubel <[email protected]>
In general I agree, but in this case, the only offending expectations were at the end of the test, so I suggest we just skip those and still run the rest of the test on Windows. See 32421c9 |
Signed-off-by: Louise Poubel <[email protected]>
Also disabled #156 |
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.
There's a problem on Windows:
C:\Jenkins\workspace\ignition_common-ci-pr_any-windows7-amd64\ws\ign-common\av\src\AudioDecoder_TEST.cc(20): fatal error C1083: Cannot open include file: 'ignition/utilities/ExtraTestMacros.hh': No such file or directory
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Ahhh not anymore! |
An attempt at fixing #148.
The test changes are minimal, I recommend the view ignoring whitespace changes:
video
within a scope, so we can check that it deletes all temp files on destructionThe change that I hope will fix it is the use of
common::removeFile
instead ofstd::remove
.