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
The test_source_code.cpp implements several gtests with EXPECT_FALSE and EXPECT_TRUE tests. The utils library has logging capabilities that write to stderr when invalid data is passed to the methods. Ideally, catkin run_tests would be able to distinguish between passed/failed tests, compilation warnings, and logging statements. If a test is compiled with no warnings, and all tests pass then the summary and build output should properly reflect that.
Actual Behavior
All output from the verbose compilation and test running (see #405) is considered to be a warning. A --summarize incorrectly fails to report the tests for the package as Successful because of writing to stderr. You always end up with a [build] Warnings: 1 packages succeeded with warnings. at the end of compilation.
If libraries were abstracted differently, this problem could be avoided, but that isn't always desirable.
The text was updated successfully, but these errors were encountered:
System Info
Linux jschultz 4.15.0-66-generic #75~16.04.1-Ubuntu SMP Tue Oct 1 14:01:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Python 2.7.12
catkin_tools 0.4.5
kinetic
Build / Run Issue
catkin_make
catkin_make_isolated --merge
catkin build
catkin build -p1
Expected Behavior
Consider a CMake file with the following:
The
test_source_code.cpp
implements severalgtests
withEXPECT_FALSE
andEXPECT_TRUE
tests. Theutils
library has logging capabilities that write to stderr when invalid data is passed to the methods. Ideally,catkin run_tests
would be able to distinguish between passed/failed tests, compilation warnings, and logging statements. If a test is compiled with no warnings, and all tests pass then the summary and build output should properly reflect that.Actual Behavior
All output from the verbose compilation and test running (see #405) is considered to be a warning. A
--summarize
incorrectly fails to report the tests for the package asSuccessful
because of writing to stderr. You always end up with a[build] Warnings: 1 packages succeeded with warnings.
at the end of compilation.If libraries were abstracted differently, this problem could be avoided, but that isn't always desirable.
The text was updated successfully, but these errors were encountered: