File tree 7 files changed +46
-1
lines changed 7 files changed +46
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ add_subdirectory(jbmc)
7
7
add_subdirectory (strings -smoke-tests)
8
8
add_subdirectory (jbmc-strings )
9
9
add_subdirectory (jdiff)
10
+ add_subdirectory (janalyzer)
10
11
add_subdirectory (janalyzer-taint)
11
12
add_subdirectory (jbmc-concurrency)
12
13
add_subdirectory (jbmc-inheritance)
Original file line number Diff line number Diff line change 1
1
# For the best possible utilisation of multiple cores when
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
- DIRS = janalyzer-taint \
4
+ DIRS = janalyzer \
5
+ janalyzer-taint \
5
6
jbmc \
6
7
jbmc-concurrency \
7
8
jbmc-inheritance \
Original file line number Diff line number Diff line change
1
+ add_test_pl_tests(
2
+ "$<TARGET_FILE:janalyzer>"
3
+ )
Original file line number Diff line number Diff line change
1
+ default : tests.log
2
+
3
+ include ../../src/config.inc
4
+
5
+ test :
6
+ @../$(CPROVER_DIR ) /regression/test.pl -p -c ../../../src/janalyzer/janalyzer
7
+
8
+ tests.log : ../$(CPROVER_DIR ) /regression/test.pl
9
+ @../$(CPROVER_DIR ) /regression/test.pl -p -c ../../../src/janalyzer/janalyzer
10
+
11
+ show :
12
+ @for dir in * ; do \
13
+ if [ -d " $$ dir" ]; then \
14
+ vim -o " $$ dir/*.java" " $$ dir/*.out" ; \
15
+ fi ; \
16
+ done ;
17
+
18
+ clean :
19
+ find -name ' *.out' -execdir $(RM ) ' {}' \;
20
+ find -name ' *.gb' -execdir $(RM ) ' {}' \;
21
+ $(RM ) tests.log
Original file line number Diff line number Diff line change
1
+ class Basic1
2
+ {
3
+ public static void main (String [] args ) {
4
+ String s = "Hello " ;
5
+ s += "World!" ;
6
+ if (s .equals ("Hello World!" ))
7
+ System .out .printf ("Hello World!" );
8
+ }
9
+ };
10
+
Original file line number Diff line number Diff line change
1
+ CORE
2
+ Basic1.class
3
+ --location-sensitive --constants --show
4
+ ^EXIT=0$
5
+ ^SIGNAL=0$
6
+ Hello_20 = \{ \.@class_identifier="java::java\.lang\.String" \};
7
+ java::java\.lang\.String\.Literal\.Hello_20=\{ \.@class_identifier="java::java\.lang\.String" \}
8
+ --
9
+ ^warning: ignoring
You can’t perform that action at this time.
0 commit comments