Skip to content

Commit

Permalink
Merge pull request diffblue#2495 from diffblue/aws-codebuild-windows-…
Browse files Browse the repository at this point in the history
…jbmc-tests

the jbmc tests now work on Windows
  • Loading branch information
Daniel Kroening authored Jul 19, 2018
2 parents cefdc21 + f795ef9 commit 14dc11e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 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
2 changes: 0 additions & 2 deletions jbmc/regression/jbmc-cover/generics/test.desc
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@ file AbstractTest.java line 18 .* SATISFIED
file AbstractTest.java line 19 .* SATISFIED
file AbstractTest.java line 20 .* SATISFIED
file AbstractTest.java line 21 .* SATISFIED


0 comments on commit 14dc11e

Please sign in to comment.