Skip to content

Commit

Permalink
the jbmc tests now work on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Kroening authored and peterschrammel committed Jul 17, 2018
1 parent 8966f09 commit 895b0e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ test_script:
rmdir /s /q jbmc\VarLengthArrayTrace1
rmdir /s /q jbmc\classpath1
rmdir /s /q jbmc\jar-file3
rmdir /s /q jbmc\tableswitch2
cd ../..
make -C jbmc/regression test BUILD_ENV=MSVC
Expand Down
11 changes: 8 additions & 3 deletions buildspec-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ phases:
- |
$env:Path = "C:\tools\cygwin\bin;$env:Path"
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -j4 -C jbmc/src setup-submodules" && bash -c "make -j4 -C jbmc/src BUILD_ENV=MSVC" '
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -j4 -C jbmc/unit all BUILD_ENV=MSVC ; exit 0" '
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -j4 -C jbmc/unit all BUILD_ENV=MSVC" '
post_build:
commands:
Expand All @@ -45,6 +45,11 @@ phases:
Remove-Item goto-instrument\slice08 -Force -Recurse
Remove-Item goto-analyzer/constant_propagation_nondet_rounding_mode -Force -Recurse
cd ..
cd jbmc/regression
Remove-Item jbmc\VarLengthArrayTrace1 -Force -Recurse
Remove-Item jbmc\classpath1 -Force -Recurse
Remove-Item jbmc\jar-file3 -Force -Recurse
cd ../..
- |
$env:Path = "C:\tools\cygwin\bin;$env:Path"
Expand All @@ -56,11 +61,11 @@ phases:
- |
$env:Path = "C:\tools\cygwin\bin;$env:Path"
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 ; exit 0" '
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" '
- |
$env:Path = "C:\tools\cygwin\bin;$env:Path"
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 ; exit 0" '
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" '
artifacts:
files:
Expand Down

0 comments on commit 895b0e7

Please sign in to comment.