@@ -6,7 +6,7 @@ if (( "$#" < 1 )) || (( "$#" > 2 )); then
66 echo " Your command:"
77 echo ` basename $0 ` $@
88 echo " Usage: ` basename $0 ` <javaFile>"
9- echo " Or: ` basename $0 ` <--pretty|--raw|--none|--search|--cached|--search-cached|--debug> <javaFile>"
9+ echo " Or: ` basename $0 ` <--pretty|--raw|--none|--search|--cached|--search-cached|--debug|--symbolic > <javaFile>"
1010 echo " For more options use aux-kjrun.sh"
1111 exit 1
1212fi
@@ -20,18 +20,24 @@ if (( "$#" == 1 ));
2020 JAVA_FILE=$2
2121fi
2222
23- # OS-dependent choice of default timeout
23+ # OS-dependent choice of timeout
2424if [[ $( uname) == * Linux* ]]
2525 then DEFAULT_TIMEOUT=30
2626 else DEFAULT_TIMEOUT=120
2727fi
2828
29- # OS-dependent choice of default timeout
29+ # OS-dependent choice of timeout
3030if [[ $( uname) == * Linux* ]]
3131 then SEARCH_TIMEOUT=60
3232 else SEARCH_TIMEOUT=120
3333fi
3434
35+ # OS-dependent choice of timeout
36+ if [[ $( uname) == * Linux* ]]
37+ then SYMBOLIC_TIMEOUT=120
38+ else SYMBOLIC_TIMEOUT=240
39+ fi
40+
3541case " $OPTION " in
3642" --pretty" )
3743 aux-kjrun.sh --time true --timeout ${DEFAULT_TIMEOUT} --mode run --output pretty --kast-cache false ${JAVA_FILE}
@@ -54,10 +60,14 @@ case "$OPTION" in
5460" --debug" )
5561 aux-kjrun.sh --time false --timeout 0 --mode debug --output pretty --kast-cache false ${JAVA_FILE}
5662 ;;
63+ " --symbolic" )
64+ aux-kjrun.sh --time true --timeout ${SYMBOLIC_TIMEOUT} --mode symbolic \
65+ --output pretty --kast-cache false ${JAVA_FILE}
66+ ;;
5767* )
5868 echo " Invalid option: $OPTION "
5969 echo " Usage: ` basename $0 ` <javaFile>"
60- echo " Or: ` basename $0 ` <--pretty|--raw|--none|--search|--cached|--search-cached|--debug> <javaFile>"
70+ echo " Or: ` basename $0 ` <--pretty|--raw|--none|--search|--cached|--search-cached|--debug|--symbolic > <javaFile>"
6171 echo " For more options use aux-kjrun.sh"
6272 exit 1
6373 ;;
0 commit comments