Using version 4.0, I'm experience the same issue as #943
I'm trying to build it myself (i.e: without CMake provided by the cpputest project) on the target (ESP32 IDF)
I'm getting
undefined reference to `_ZN10UtestShell28assertUnsignedLongLongsEqualEyyPKcS1_jRK14TestTerminator
and it is the only that linker complains.
I tried this
#define CPPUTEST_LONG_LONG_DISABLED
#define CPPUTEST_USE_LONG_LONG 0
#include <CppUTest/TestHarness.h>
#include <CppUTest/CommandLineTestRunner.h>
Update:
I can build an empty test group
TEST_GROUP(Name_Group) {
void setup() override {
}
void teardown() override {
}
};
but as soon as I place an empty TEST it fails about
testShell28assertUnsignedLongLongsEqual
TEST(Name_Group, test) {
}
It looks there are two assertUnsignedLongLongsEqual functions with different signatures?
_ZN10UtestShell28assertUnsignedLongLongsEqualE18cpputest_ulonglongS0_PKcS2_jRK14TestTerminator esp-idf/CppUTest/libCppUTest.a(Utest.cpp.obj)
_ZN10UtestShell28assertUnsignedLongLongsEqualEyyPKcS1_jRK14TestTerminator esp-idf/main/libmain.a(test_file.cpp.obj)
Using version 4.0, I'm experience the same issue as #943
I'm trying to build it myself (i.e: without CMake provided by the cpputest project) on the target (ESP32 IDF)
I'm getting
undefined reference to `_ZN10UtestShell28assertUnsignedLongLongsEqualEyyPKcS1_jRK14TestTerminator
and it is the only that linker complains.
I tried this
Update:
I can build an empty test group
but as soon as I place an empty TEST it fails about
testShell28assertUnsignedLongLongsEqual
It looks there are two assertUnsignedLongLongsEqual functions with different signatures?