Tests are not failing without debug assertion

release/4.3a0
Tal Regev 2023-07-24 22:16:56 +03:00
parent 62d59c62d4
commit 00895911c0
No known key found for this signature in database
GPG Key ID: A421558E0F87AC82
1 changed files with 32 additions and 31 deletions

View File

@ -99,64 +99,65 @@ jobs:
cmake -B build -S . -DGTSAM_BUILD_EXAMPLES_ALWAYS=OFF -DBOOST_ROOT="${env:BOOST_ROOT}" -DBOOST_INCLUDEDIR="${env:BOOST_ROOT}\boost\include" -DBOOST_LIBRARYDIR="${env:BOOST_ROOT}\lib" cmake -B build -S . -DGTSAM_BUILD_EXAMPLES_ALWAYS=OFF -DBOOST_ROOT="${env:BOOST_ROOT}" -DBOOST_INCLUDEDIR="${env:BOOST_ROOT}\boost\include" -DBOOST_LIBRARYDIR="${env:BOOST_ROOT}\lib"
- name: Build - name: Build
shell: cmd
run: | run: |
:: Since Visual Studio is a multi-generator, we need to use --config # Since Visual Studio is a multi-generator, we need to use --config
:: https://stackoverflow.com/a/24470998/1236990 # https://stackoverflow.com/a/24470998/1236990
cmake --build build -j4 --config ${{ matrix.build_type }} --target gtsam cmake --build build -j4 --config ${{ matrix.build_type }} --target gtsam
cmake --build build -j4 --config ${{ matrix.build_type }} --target gtsam_unstable cmake --build build -j4 --config ${{ matrix.build_type }} --target gtsam_unstable
:: Target doesn't exist # Target doesn't exist
:: cmake --build build -j4 --config ${{ matrix.build_type }} --target wrap # cmake --build build -j4 --config ${{ matrix.build_type }} --target wrap
- name: Test - name: Test
shell: cmd
run: | run: |
:: Run GTSAM tests # Run GTSAM tests
cmake --build build -j4 --config ${{ matrix.build_type }} --target check.base cmake --build build -j4 --config ${{ matrix.build_type }} --target check.base
cmake --build build -j4 --config ${{ matrix.build_type }} --target check.basis cmake --build build -j4 --config ${{ matrix.build_type }} --target check.basis
cmake --build build -j4 --config ${{ matrix.build_type }} --target check.discrete cmake --build build -j4 --config ${{ matrix.build_type }} --target check.discrete
cmake --build build -j4 --config ${{ matrix.build_type }} --target check.geometry
# Compilation error
# cmake --build build -j4 --config ${{ matrix.build_type }} --target check.geometry
cmake --build build -j4 --config ${{ matrix.build_type }} --target check.inference cmake --build build -j4 --config ${{ matrix.build_type }} --target check.inference
:: Compile. Fail with exception # Compile. Fail with exception
:: cmake --build build -j4 --config ${{ matrix.build_type }} --target check.linear cmake --build build -j4 --config ${{ matrix.build_type }} --target check.linear
cmake --build build -j4 --config ${{ matrix.build_type }} --target check.navigation cmake --build build -j4 --config ${{ matrix.build_type }} --target check.navigation
cmake --build build -j4 --config ${{ matrix.build_type }} --target check.sam cmake --build build -j4 --config ${{ matrix.build_type }} --target check.sam
cmake --build build -j4 --config ${{ matrix.build_type }} --target check.sfm cmake --build build -j4 --config ${{ matrix.build_type }} --target check.sfm
cmake --build build -j4 --config ${{ matrix.build_type }} --target check.symbolic cmake --build build -j4 --config ${{ matrix.build_type }} --target check.symbolic
:: Compile. Fail with exception # Compile. Fail with exception
:: cmake --build build -j4 --config ${{ matrix.build_type }} --target check.hybrid cmake --build build -j4 --config ${{ matrix.build_type }} --target check.hybrid
:: Compile. Fail with exception # Compile. Fail with exception
:: cmake --build build -j4 --config ${{ matrix.build_type }} --target check.nonlinear # cmake --build build -j4 --config ${{ matrix.build_type }} --target check.nonlinear
:: Compilation error # Compilation error
:: cmake --build build -j4 --config ${{ matrix.build_type }} --target check.slam # cmake --build build -j4 --config ${{ matrix.build_type }} --target check.slam
:: Run GTSAM_UNSTABLE tests # Run GTSAM_UNSTABLE tests
cmake --build build -j4 --config ${{ matrix.build_type }} --target check.base_unstable cmake --build build -j4 --config ${{ matrix.build_type }} --target check.base_unstable
:: Compile. Fail with exception # Compile. Fail with exception
:: cmake --build build -j4 --config ${{ matrix.build_type }} --target check.geometry_unstable # cmake --build build -j4 --config ${{ matrix.build_type }} --target check.geometry_unstable
:: Compile. Fail with exception # Compile. Fail with exception
:: cmake --build build -j4 --config ${{ matrix.build_type }} --target check.linear_unstable # cmake --build build -j4 --config ${{ matrix.build_type }} --target check.linear_unstable
:: Compile. Fail with exception # Compile. Fail with exception
:: cmake --build build -j4 --config ${{ matrix.build_type }} --target check.discrete_unstable # cmake --build build -j4 --config ${{ matrix.build_type }} --target check.discrete_unstable
:: Compile. Fail with exception # Compile. Fail with exception
:: cmake --build build -j4 --config ${{ matrix.build_type }} --target check.dynamics_unstable # cmake --build build -j4 --config ${{ matrix.build_type }} --target check.dynamics_unstable
:: Compile. Fail with exception # Compile. Fail with exception
:: cmake --build build -j4 --config ${{ matrix.build_type }} --target check.nonlinear_unstable # cmake --build build -j4 --config ${{ matrix.build_type }} --target check.nonlinear_unstable
:: Compilation error # Compilation error
:: cmake --build build -j4 --config ${{ matrix.build_type }} --target check.slam_unstable # cmake --build build -j4 --config ${{ matrix.build_type }} --target check.slam_unstable
:: Compilation error # Compilation error
:: cmake --build build -j4 --config ${{ matrix.build_type }} --target check.partition # cmake --build build -j4 --config ${{ matrix.build_type }} --target check.partition