Skip to content

Commit 18cca67

Browse files
author
thk123
committed
Add running XFAIL tests to other jobs
1 parent 44d1ee4 commit 18cca67

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

buildspec-linux-clang.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@ phases:
2727
post_build:
2828
commands:
2929
- make -C unit test
30+
- echo "Running expected failure tests"
31+
- make TAGS="[!shouldfail]" -C unit test
3032
- make -C regression test CXX='ccache /usr/bin/clang++-8' CXX_FLAGS='-Qunused-arguments'
3133
- make -C regression/cbmc test-paths-lifo
3234
- env PATH=$PATH:`pwd`/src/solvers make -C regression/cbmc test-cprover-smt2
3335
- make -C jbmc/unit test
36+
- echo "Running expected failure tests"
37+
- make TAGS="[!shouldfail]" -C jbmc/unit test
3438
- make -C jbmc/regression test
3539
- echo Build completed on `date`
3640
cache:

buildspec-windows.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ phases:
5757
$env:Path = "C:\tools\cygwin\bin;$env:Path"
5858
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -C unit test BUILD_ENV=MSVC" '
5959
60+
- |
61+
$env:Path = "C:\tools\cygwin\bin;$env:Path"
62+
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make TAGS=[!shouldfail] -C unit test BUILD_ENV=MSVC" '
63+
6064
- |
6165
$env:Path = "C:\tools\cygwin\bin;$env:Path"
6266
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -C jbmc/regression test BUILD_ENV=MSVC" '
@@ -65,6 +69,10 @@ phases:
6569
$env:Path = "C:\tools\cygwin\bin;$env:Path"
6670
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -C jbmc/unit test BUILD_ENV=MSVC" '
6771
72+
- |
73+
$env:Path = "C:\tools\cygwin\bin;$env:Path"
74+
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make TAGS=[!shouldfail] -C jbmc/unit test BUILD_ENV=MSVC" '
75+
6876
cache:
6977
paths:
7078
- 'c:\clcache\**\*'

buildspec.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,14 @@ phases:
2626
post_build:
2727
commands:
2828
- make -C unit test
29+
- echo "Running expected failure tests"
30+
- make TAGS="[!shouldfail]" -C unit test
2931
- make -C regression test
3032
- make -C regression/cbmc test-paths-lifo
3133
- env PATH=$PATH:`pwd`/src/solvers make -C regression/cbmc test-cprover-smt2
3234
- make -C jbmc/unit test
35+
- echo "Running expected failure tests"
36+
- make TAGS="[!shouldfail]" -C jbmc/unit test
3337
- make -C jbmc/regression test
3438
- echo Build completed on `date`
3539
cache:

0 commit comments

Comments
 (0)