I have managed to compile the complete suite now, I needed to make one other change (which did not make sense), namely:
I needed to comment out the check around the include for unistd.h in src/3rdparty/freetype/src/builds/unix/ftsystem.c
as for some reason, even though cmake correctly identifies the file as found, it seems for some reason it was not correctly passed here?
//#ifdef HAVE_UNISTD_H
#include <unistd.h>
//#endif
The other thing I needed to do was to hard code the include path for pulseaudio. Not sure why.
Tests produce the following results:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CsCoreTest is a Catch v2.13.8 host application.
Run with -? for options
-------------------------------------------------------------------------------
QList traits
-------------------------------------------------------------------------------
/Users/hhenson/src/copperspice/test/core/containers/qlist.cpp:24
...............................................................................
/Users/hhenson/src/copperspice/test/core/containers/qlist.cpp:32: FAILED:
REQUIRE( std::is_nothrow_move_constructible_v<QList<int>> == false )
with expansion:
true == false
-------------------------------------------------------------------------------
QSettings allkeys
-------------------------------------------------------------------------------
/Users/hhenson/src/copperspice/test/core/io/qsettings.cpp:48
...............................................................................
/Users/hhenson/src/copperspice/test/core/io/qsettings.cpp:81: FAILED:
REQUIRE( keys.size() == 7 )
with expansion:
53 == 7
-------------------------------------------------------------------------------
QMetaMethod traits
-------------------------------------------------------------------------------
/Users/hhenson/src/copperspice/test/core/kernel/qmetamethod.cpp:27
...............................................................................
/Users/hhenson/src/copperspice/test/core/kernel/qmetamethod.cpp:35: FAILED:
REQUIRE( std::is_nothrow_move_constructible_v<QMetaMethod> == false )
with expansion:
true == false
-------------------------------------------------------------------------------
QVariant constructor_hash
-------------------------------------------------------------------------------
/Users/hhenson/src/copperspice/test/core/kernel/qvariant.cpp:411
...............................................................................
/Users/hhenson/src/copperspice/test/core/kernel/qvariant.cpp:419: FAILED:
REQUIRE( data.type() == QVariant::Hash )
with expansion:
256 == 44
-------------------------------------------------------------------------------
QVariant constructor_map
-------------------------------------------------------------------------------
/Users/hhenson/src/copperspice/test/core/kernel/qvariant.cpp:434
...............................................................................
/Users/hhenson/src/copperspice/test/core/kernel/qvariant.cpp:444: FAILED:
REQUIRE( data.canConvert<QVariantHash>() )
with expansion:
false
-------------------------------------------------------------------------------
QVariant type_char8_t
-------------------------------------------------------------------------------
/Users/hhenson/src/copperspice/test/core/kernel/qvariant.cpp:1138
...............................................................................
/Users/hhenson/src/copperspice/test/core/kernel/qvariant.cpp
FAILED:
REQUIRE( QVariant::typeToName(QVariant::Char8_t) == "char8_t" )
with expansion:
== "char8_t"
CsString C++20 char8_t checks enabled
===============================================================================
test cases: 602 | 596 passed | 5 failed | 1 failed as expected
assertions: 3089 | 3083 passed | 5 failed | 1 failed as expected