Closed stilong closed 1 year ago
error commit
unittest building failed !
Fast-DDS/test/unittest/rtps/flowcontrol/FlowControllerPublishModesTests.hpp:61:17: error: expected constructor, destructor, or type conversion before '(' token
TYPED_TEST_SUITE(FlowControllerPublishModes, Schedulers, );
^
In file included from /opt/bstos/2.3.0.4/sysroots/aarch64-bst-linux/usr/include/gtest/gtest.h:67,
from /opt/bstos/2.3.0.4/sysroots/aarch64-bst-linux/usr/include/gmock/internal/gmock-internal-utils.h:47,
from /opt/bstos/2.3.0.4/sysroots/aarch64-bst-linux/usr/include/gmock/gmock-actions.h:47,
from /opt/bstos/2.3.0.4/sysroots/aarch64-bst-linux/usr/include/gmock/gmock.h:59,
from /home/os/204/dds/Fast-DDS/test/mock/rtps/RTPSMessageGroup/fastdds/rtps/messages/RTPSMessageGroup.h:23,
from /home/os/204/dds/Fast-DDS/test/mock/rtps/RTPSWriter/fastdds/rtps/writer/RTPSWriter.h:27,
from /home/os/204/dds/Fast-DDS/src/cpp/rtps/flowcontrol/FlowControllerImpl.hpp:6,
from /home/os/204/dds/Fast-DDS/test/unittest/rtps/flowcontrol/FlowControllerPublishModesTests.hpp:4,
from /home/os/204/dds/Fast-DDS/test/unittest/rtps/flowcontrol/FlowControllerPublishModesOnPureSyncTests.cpp:1:
/home/os/204/dds/Fast-DDS/test/unittest/rtps/flowcontrol/FlowControllerPublishModesOnPureSyncTests.cpp:6:1: error: 'gtest_type_params_FlowControllerPublishModes_' was not declared in this scope
TYPED_TEST(FlowControllerPublishModes, pure_sync_publish_mode)
^~~~~~~~~~
/home/os/204/dds/Fast-DDS/test/unittest/rtps/flowcontrol/FlowControllerPublishModesOnPureSyncTests.cpp:6:1: note: suggested alternative: 'FlowControllerPublishModes'
/home/os/204/dds/Fast-DDS/test/unittest/rtps/flowcontrol/FlowControllerPublishModesOnPureSyncTests.cpp:6:1: error: template argument 3 is invalid
TYPED_TEST(FlowControllerPublishModes, pure_sync_publish_mode)
^~~~~~~~~~
/home/os/204/dds/Fast-DDS/test/unittest/rtps/flowcontrol/FlowControllerPublishModesOnPureSyncTests.cpp:6:1: error: 'gtest_type_params_FlowControllerPublishModes_NameGenerator' was not declared in this scope
TYPED_TEST(FlowControllerPublishModes, pure_sync_publish_mode)
^~~~~~~~~~
/home/os/204/dds/Fast-DDS/test/unittest/rtps/flowcontrol/FlowControllerPublishModesOnPureSyncTests.cpp:6:1: error: 'gtest_type_params_FlowControllerPublishModes_' was not declared in this scope
TYPED_TEST(FlowControllerPublishModes, pure_sync_publish_mode)
^~~~~~~~~~
/home/os/204/dds/Fast-DDS/test/unittest/rtps/flowcontrol/FlowControllerPublishModesOnPureSyncTests.cpp:6:1: note: suggested alternative: 'FlowControllerPublishModes'
/home/os/204/dds/Fast-DDS/test/unittest/rtps/flowcontrol/FlowControllerPublishModesOnPureSyncTests.cpp:6:1: error: no matching function for call to 'GenerateNames<<expression error>, <expression error> >()'
TYPED_TEST(FlowControllerPublishModes, pure_sync_publish_mode)
^~~~~~~~~~
Is there an already existing issue for this?
Expected behavior
compile complete
Current behavior
lgh@lgh-u20:~/MyDDS/src/fastdds/test/unittest/security/authentication$ cd build/ lgh@lgh-u20:~/MyDDS/src/fastdds/test/unittest/security/authentication/build$ ls CMakeCache.txt CMakeFiles lgh@lgh-u20:~/MyDDS/src/fastdds/test/unittest/security/authentication/build$ cmake Usage
cmake [options]
cmake [options]
cmake [options] -S -B
Specify a source directory to (re-)generate a build system for it in the current working directory. Specify an existing build directory to re-generate its build system.
Run 'cmake --help' for more information.
lgh@lgh-u20:~/MyDDS/src/fastdds/test/unittest/security/authentication/build$
Steps to reproduce
no
Fast DDS version/commit
2.9.1
Platform/Architecture
Ubuntu Focal 20.04 arm64, Other. Please specify in Additional context section.
Transport layer
Default configuration, UDPv4 & SHM
Additional context
No response
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response