@@ -243,7 +243,7 @@ jobs:
243243 - cmake -S . -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=/usr/bin/g++-7' '-DCMAKE_USE_CUDD=true' -DCMAKE_CXX_FLAGS="-DBDD_GUARDS" '-DWITH_MEMORY_ANALYZER=On'
244244 - git submodule update --init --recursive
245245 - cmake --build build -- -j4
246- script : (cd build; ctest -V -L CORE -j2)
246+ script : (cd build; ctest -V -L CORE -j2; ctest -V -R unit-xfail -j2 )
247247
248248 # cmake build using clang++-6
249249 - stage : Test different OS/CXX/Flags
@@ -280,7 +280,7 @@ jobs:
280280 - cmake -S . -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=/usr/bin/clang++-7' '-DCMAKE_CXX_FLAGS=-Qunused-arguments' '-DWITH_MEMORY_ANALYZER=On'
281281 - git submodule update --init --recursive
282282 - cmake --build build -- -j4
283- script : (cd build; ctest -V -L CORE -j2)
283+ script : (cd build; ctest -V -L CORE -j2; ctest -V -R unit-xfail -j2 )
284284
285285 # cmake build on OSX, using default clang
286286 - stage : Test different OS/CXX/Flags
@@ -300,7 +300,7 @@ jobs:
300300 - cmake -S . -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_OSX_ARCHITECTURES=x86_64'
301301 - git submodule update --init --recursive
302302 - cmake --build build -- -j4
303- script : (cd build; ctest -V -L CORE -j2)
303+ script : (cd build; ctest -V -L CORE -j2; ctest -V -R unit-xfail -j2 )
304304
305305
306306 # Run Coverity
@@ -355,9 +355,13 @@ script:
355355 - env PATH=$PATH:`pwd`/src/solvers UBSAN_OPTIONS=print_stacktrace=1 make -C regression/cbmc test-cprover-smt2
356356 - make -C unit "CXX=${COMPILER} ${EXTRA_CXXFLAGS}" -j2
357357 - make -C unit test
358+ - echo "Running expected failure tests"
359+ - make TAGS="[!shouldfail]" -C unit test
358360 - env UBSAN_OPTIONS=print_stacktrace=1 make -C jbmc/regression test-parallel "CXX=${COMPILER} ${EXTRA_CXXFLAGS}" -j2 JOBS=2
359361 - make -C jbmc/unit "CXX=${COMPILER} ${EXTRA_CXXFLAGS}" -j2
360362 - make -C jbmc/unit test
363+ - echo "Running expected failure tests"
364+ - make TAGS="[!shouldfail]" -C jbmc/unit test
361365
362366before_cache :
363367 - ccache -s
0 commit comments