autowarefoundation / autoware.core Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
The ros2 message unit tests related to ament_cpplint fail with Category 'whitespace/line_length' errors
.
ament_cpplint
shouldn't give line length errors for generated message files.
I was trying to generate a new messages package named autoware_control_center_msgs
.
To replicate it on my machine I ran:
colcon test --event-handlers console_cohesion+ --packages-select autoware_control_center_msgs --ctest-args -L ".*" --executor sequential --return-code-on-test-failure
And got the same result.
The following tests FAILED:
2 - cpplint_rosidl_generated_c (Failed)
5 - cpplint_rosidl_typesupport_fastrtps_c (Failed)
8 - cpplint_rosidl_generated_cpp (Failed)
11 - cpplint_rosidl_typesupport_fastrtps_cpp (Failed)
14 - cpplint_rosidl_typesupport_introspection_c (Failed)
17 - cpplint_rosidl_typesupport_c (Failed)
20 - cpplint_rosidl_typesupport_introspection_cpp (Failed)
23 - cpplint_rosidl_typesupport_cpp (Failed)
26 - cpplint_rosidl_generated_py (Failed)
To test other packages, I tried it for already existing messages like autoware_planning_msgs
or autoware_sensing_msgs
and got the same test errors.
Then created a test PR on autoware_msgs
to debug, they were successful.
In following PR, I tested with exactly same package, it passed the test.
https://github.com/autowarefoundation/autoware_msgs/actions/runs/3931108667/jobs/6721941355#step:7:870 is successful.
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_EXPORT_COMPILE_COMMANDS=1 --packages-select autoware_sensing_msgs
colcon test --event-handlers console_cohesion+ --packages-select autoware_sensing_msgs --ctest-args -L ".*" --executor sequential --return-code-on-test-failure
It should fail the test.
Maybe some update was made in humble message generation or ament_cpplint.
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.