Integrates unittests for lts/services/s almost successfull into final validation phase
This commit is contained in:
46 files changed
+307
-108
No files matched your search
@@ -53,6 +53,9 @@ docker run --rm \
|
||||
# Set RTI license
|
||||
export RTI_LICENSE_FILE=/workspace/rti_license.dat
|
||||
|
||||
# Set Qt platform for headless testing (required for gtest_discover_tests)
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
|
||||
# Qt6 is installed via apt - CMake finds it automatically in /usr/lib/x86_64-linux-gnu/cmake
|
||||
|
||||
# Clean and configure
|
||||
@@ -63,7 +66,8 @@ docker run --rm \
|
||||
cmake .. \
|
||||
-DBUILD_RTI=${BUILD_RTI} \
|
||||
-DBUILD_ARCGIS=OFF \
|
||||
-DCMAKE_CXX_STANDARD=17
|
||||
-DCMAKE_CXX_STANDARD=17 \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
|
||||
make -j8 ddscore ddsftccore ddsQoS ddsconnector ddsfts migration_tests 2>&1 | tee build.log
|
||||
|
||||
@@ -71,5 +75,7 @@ docker run --rm \
|
||||
# We are already inside build4 (cd build4 above), so --test-dir is the
|
||||
# current directory. --output-on-failure surfaces failing test output; a
|
||||
# non-zero exit propagates through set -e and fails the container validation.
|
||||
# Set QT_QPA_PLATFORM for headless testing (no display required)
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
ctest --test-dir . --output-on-failure
|
||||
"
|
||||
Reference in new issue
Block a user