Remove dead CMake configuration from the release validation scope
- Top-level CMakeLists.txt: drop RTI/Connext DDS config and placeholder targets, MIGRATE_MODULE guarded-subdir machinery (now unconditional add_subdirectory), BUILD_QAV, BUILD_PLUGINS_*, KDReports stub, ArcGIS option and FindRTI placeholder loop - Lts/CMakeLists.txt: release scope now unconditional (Common + Proxies/TrainingAreaBase), codegen/DDS/test/docs blocks removed - Lts/Common: drop DDS/RTI-gated plugin and utils test blocks - Lts/Proxies/TrainingAreaBase: remove RTI codegen, svcTabClient/svcTabServer, RTI plugins, sTAB; keep stub-only svcTabCommon + tabTelegrams + tabPluginInterface - TetraIF/PrtCnv: remove out-of-scope TetraTestServer/LastTest subdirs - Z/src/nglcompression: remove nglcomp_test (pre-existing Qt6 failure, no longer registered) - Delete 16 unused cmake/ helper modules and the tests/ scaffolding dir - new_docker_build.sh: drop BUILD_ARCGIS and nglcomp_test from the release build - README: update ctest baseline to 7/7 and remove license/exception mentions
This commit is contained in:
1 parent
6e7b09cf6f
commit
8976b5aedb
111 files changed
+62
-3761
No files matched your search
@@ -35,9 +35,9 @@ Toolchain inside the image: **Ubuntu 26.04, GCC 15.2.0, Qt 6.10.2**
|
||||
`new_docker_build.sh` invokes Docker, so running the driver as-is
|
||||
satisfies this.
|
||||
|
||||
No license file is required: this branch builds the release scope only
|
||||
(TetraIF, Z/src, Lts/Common) with `BUILD_RTI=OFF`, so the RTI Connext
|
||||
DDS modules (the only consumers of an RTI license) are not compiled.
|
||||
No license file is required: the RTI Connext DDS modules (the only
|
||||
consumers of an RTI license) are not part of the release scope and are
|
||||
never compiled on this branch.
|
||||
`new_docker_build.sh` resolves the pipeline root from its own location
|
||||
(override with the exported `MIGRATE_PIPELINE_ROOT` or the `.envrc` in
|
||||
this directory).
|
||||
@@ -75,15 +75,14 @@ What the driver does inside the container:
|
||||
```bash
|
||||
cmake .. \
|
||||
-DBUILD_TESTING=ON \
|
||||
-DBUILD_ARCGIS=OFF \
|
||||
-DRELEASE_BUILD=ON \
|
||||
-DCMAKE_CXX_STANDARD=17 \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_PREFIX_PATH=/opt/Qt/6.10.2/gcc_64:/usr/local
|
||||
```
|
||||
|
||||
(`BUILD_ARCGIS` and `RELEASE_BUILD` override CMake defaults that do
|
||||
not match this branch.)
|
||||
(`RELEASE_BUILD=ON` selects the release scope; everything else is at
|
||||
its CMake default.)
|
||||
3. `make -j8` the release-scope targets (TetraIF modules, Z stack,
|
||||
Lts/Common libs, all test executables — the list is
|
||||
`RELEASE_BUILD_TARGETS` in `new_docker_build.sh`).
|
||||
@@ -104,21 +103,18 @@ interactive container (Step 4).
|
||||
### 3.1 ctest (automatic)
|
||||
|
||||
`new_docker_build.sh` already runs `ctest --test-dir build4
|
||||
--output-on-failure` after the compile. Expected baseline (8 tests):
|
||||
--output-on-failure` after the compile. Expected baseline (7 tests, all
|
||||
passed):
|
||||
|
||||
| # | Test | Result |
|
||||
|---|---|---|
|
||||
| 1 | `coprtcnv_unit_test` | Passed |
|
||||
| 2 | `logview_unit_test` | Passed |
|
||||
| 3 | `prtcnv_unit_test` | Passed |
|
||||
| 4 | `nglcomp_test` | **Not Run** (pre-existing: compression "Unknown error" in Qt6) |
|
||||
| 5 | `NGLToolsQtSmoke` | Passed |
|
||||
| 6 | `test_nglpdfwidget` | Passed |
|
||||
| 7 | `lts_coord_trans_unit_test` | Passed |
|
||||
| 8 | `aes_crypt_test` | Passed |
|
||||
|
||||
`nglcomp_test` being *Not Run* is the expected baseline — the pipeline
|
||||
logs a ctest failure for it but continues.
|
||||
| 4 | `NGLToolsQtSmoke` | Passed |
|
||||
| 5 | `test_nglpdfwidget` | Passed |
|
||||
| 6 | `lts_coord_trans_unit_test` | Passed |
|
||||
| 7 | `aes_crypt_test` | Passed |
|
||||
|
||||
### 3.2 Build the unit tests only
|
||||
|
||||
@@ -233,8 +229,6 @@ Environment overrides: `DOCKER_IMAGE`, `RUN_JENKINS_BUILDER`,
|
||||
|
||||
- **"no Qt platform plugin could be initialized"** when running a test
|
||||
binary by hand → `export QT_QPA_PLATFORM=offscreen`.
|
||||
- **ctest fails with `nglcomp_test (Not Run)`** → expected baseline
|
||||
(pre-existing Qt6 compression issue); the pipeline continues.
|
||||
- **Stale build tree** → the driver always recreates `build4/`; for
|
||||
manual builds delete `build4/` and rerun Step 2 if CMake behaves oddly.
|
||||
- **DEBs not on the host** → the output dir must be a path that exists
|
||||
|
||||
Reference in new issue
Block a user