File tree Expand file tree Collapse file tree 4 files changed +32
-21
lines changed
validate-trace-xml-schema Expand file tree Collapse file tree 4 files changed +32
-21
lines changed Original file line number Diff line number Diff line change 2
2
# running tests in parallel, it is important that these directories are
3
3
# listed with decreasing runtimes (i.e. longest running at the top)
4
4
DIRS = cbmc \
5
- cbmc-library \
6
- goto-analyzer \
7
5
ansi-c \
8
- goto-instrument \
9
- cpp \
10
6
cbmc-concurrency \
11
7
cbmc-cover \
8
+ cbmc-cpp \
12
9
cbmc-incr-oneloop \
13
- goto-instrument-typedef \
14
- smt2_solver \
15
- smt2_strings \
16
- strings \
17
- invariants \
18
- goto-diff \
19
- test-script \
10
+ cbmc-library \
11
+ contracts \
12
+ cpp \
13
+ goto-analyzer \
20
14
goto-analyzer-taint \
21
- goto-gcc \
22
- goto-harness \
23
- goto-cl \
24
15
goto-cc-cbmc \
25
- cbmc-cpp \
26
- goto-cc-goto-analyzer \
27
- statement-list \
28
- systemc \
29
- contracts \
30
16
goto-cc-file-local \
17
+ goto-cc-goto-analyzer \
18
+ goto-cl \
19
+ goto-diff \
20
+ goto-gcc \
21
+ goto-harness \
22
+ goto-instrument \
23
+ goto-instrument-typedef \
24
+ invariants \
31
25
linking-goto-binaries \
32
- symtab2gb \
26
+ smt2_solver \
27
+ smt2_strings \
33
28
solver-hardness \
29
+ statement-list \
30
+ strings \
31
+ symtab2gb \
32
+ systemc \
33
+ test-script \
34
+ validate-trace-xml-schema \
34
35
# Empty last line
35
36
36
37
ifeq ($(OS ) ,Windows_NT)
Original file line number Diff line number Diff line change
1
+ .PHONY : test
2
+ test :
3
+ sh check.sh
4
+
Original file line number Diff line number Diff line change 59
59
60
60
if len (sys .argv ) != 2 :
61
61
sys .stderr .write ('Usage: check.py <path-to-cbmc>' )
62
- CbmcPath = sys .argv [1 ]
62
+ CbmcPath = os . path . abspath ( sys .argv [1 ])
63
63
XsdValidateJar = os .path .join (this_script_dir , 'validate-xsd/build/libs/validate-xsd-1.0-SNAPSHOT-uber.jar' )
64
64
65
65
Original file line number Diff line number Diff line change
1
+ if command -v javac
2
+ then
3
+ python3 check.py ../../src/cbmc/cbmc
4
+ else
5
+ echo " javac not found, skipping XSD tests"
6
+ fi
You can’t perform that action at this time.
0 commit comments