File tree 7 files changed +34
-5
lines changed
7 files changed +34
-5
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ phases:
47
47
Remove-Item cbmc\byte_update5 -Force -Recurse
48
48
Remove-Item cbmc\byte_update6 -Force -Recurse
49
49
Remove-Item cbmc\byte_update7 -Force -Recurse
50
- Remove-Item goto-gcc -Force -Recurse
51
50
cd ..
52
51
cd jbmc/regression
53
52
Remove-Item jbmc\VarLengthArrayTrace1 -Force -Recurse
@@ -57,10 +56,6 @@ phases:
57
56
$env:Path = "C:\tools\cygwin\bin;$env:Path"
58
57
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -C regression test BUILD_ENV=MSVC" '
59
58
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 -C regression/goto-cl test BUILD_ENV=MSVC" '
63
-
64
59
- |
65
60
$env:Path = "C:\tools\cygwin\bin;$env:Path"
66
61
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" '
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ add_subdirectory(test-script)
39
39
add_subdirectory (goto-analyzer-taint)
40
40
if (NOT WIN32 )
41
41
add_subdirectory (goto-gcc)
42
+ else ()
43
+ add_subdirectory (goto-cl)
42
44
endif ()
43
45
add_subdirectory (goto-cc-cbmc)
44
46
add_subdirectory (cbmc-cpp)
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ DIRS = cbmc \
16
16
test-script \
17
17
goto-analyzer-taint \
18
18
goto-gcc \
19
+ goto-cl \
19
20
goto-cc-cbmc \
20
21
cbmc-cpp \
21
22
goto-cc-goto-analyzer \
Original file line number Diff line number Diff line change
1
+ if ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "MSVC" )
2
+ add_test_pl_tests(
3
+ "$<TARGET_FILE:goto-cc>" -X gcc-only
4
+ )
5
+ else ()
1
6
add_test_pl_tests(
2
7
"$<TARGET_FILE:goto-cc>"
3
8
)
9
+ endif ()
Original file line number Diff line number Diff line change
1
+ add_test_pl_tests(
2
+ "$<TARGET_FILE:goto-cc>" -X goto-link
3
+ )
Original file line number Diff line number Diff line change 1
1
default : tests.log
2
2
3
+ include ../../src/config.inc
4
+ include ../../src/common
5
+
6
+ ifeq ($(BUILD_ENV_ ) ,MSVC)
3
7
test :
4
8
@../test.pl -p -c ../../../src/goto-cc/goto-cl -X goto-link
5
9
@cp ../../src/goto-cc/goto-cl.exe ../../src/goto-cc/goto-link.exe
@@ -10,6 +14,13 @@ tests.log: ../test.pl
10
14
@cp ../../src/goto-cc/goto-cl.exe ../../src/goto-cc/goto-link.exe
11
15
@../test.pl -p -c ../../../src/goto-cc/goto-link -I goto-link
12
16
17
+ else
18
+ test :
19
+
20
+ tests.log : ../test.pl
21
+
22
+ endif
23
+
13
24
show :
14
25
@for dir in * ; do \
15
26
if [ -d " $$ dir" ]; then \
Original file line number Diff line number Diff line change 1
1
default : tests.log
2
2
3
+ include ../../src/config.inc
4
+ include ../../src/common
5
+
6
+ ifeq ($(BUILD_ENV_ ) ,MSVC)
7
+ test :
8
+
9
+ tests.log : ../test.pl
10
+
11
+ else
3
12
test :
4
13
-@ln -s goto-cc ../../src/goto-cc/goto-gcc
5
14
@../test.pl -p -c ../../../src/goto-cc/goto-gcc
@@ -8,6 +17,8 @@ tests.log: ../test.pl
8
17
-@ln -s goto-cc ../../src/goto-cc/goto-gcc
9
18
@../test.pl -p -c ../../../src/goto-cc/goto-gcc
10
19
20
+ endif
21
+
11
22
show :
12
23
@for dir in * ; do \
13
24
if [ -d " $$ dir" ]; then \
You can’t perform that action at this time.
0 commit comments