equal
deleted
inserted
replaced
1 #!/usr/bin/env bash |
1 #!/usr/bin/env bash |
2 # |
2 # |
3 # $Id$ |
3 # $Id$ |
4 # Author: Gerwin Klein, TU Muenchen |
4 # Author: Gerwin Klein, TU Muenchen |
5 # |
5 # |
6 # DESCRIPTION: Run isatool makeall from specified distribution and settings. |
6 # DESCRIPTION: Run isabelle makeall from specified distribution and settings. |
7 |
7 |
8 ## global settings |
8 ## global settings |
9 . ~/admin/isatest/isatest-settings |
9 . ~/admin/isatest/isatest-settings |
10 |
10 |
11 # max time until test is aborted (in sec) |
11 # max time until test is aborted (in sec) |
18 function usage() |
18 function usage() |
19 { |
19 { |
20 echo |
20 echo |
21 echo "Usage: $PRG [-l logic targets] settings1 [settings2 ...]" |
21 echo "Usage: $PRG [-l logic targets] settings1 [settings2 ...]" |
22 echo |
22 echo |
23 echo " Runs isatool makeall for specified settings." |
23 echo " Runs isabelle makeall for specified settings." |
24 echo " Leaves messages in ${ERRORLOG} and ${LOGPREFIX} if it fails." |
24 echo " Leaves messages in ${ERRORLOG} and ${LOGPREFIX} if it fails." |
25 echo |
25 echo |
26 echo "Examples:" |
26 echo "Examples:" |
27 echo " $PRG ~/settings/at-poly ~/settings/at-sml" |
27 echo " $PRG ~/settings/at-poly ~/settings/at-sml" |
28 echo " $PRG -l HOL \"HOL-Library HOL-Bali\" ~/settings/at-poly" |
28 echo " $PRG -l HOL \"HOL-Library HOL-Bali\" ~/settings/at-poly" |
86 # be nice by default |
86 # be nice by default |
87 NICE=nice |
87 NICE=nice |
88 ;; |
88 ;; |
89 esac |
89 esac |
90 |
90 |
91 ISABELLE_TOOL="$DISTPREFIX/Isabelle/bin/isatool" |
91 ISABELLE_TOOL="$DISTPREFIX/Isabelle/bin/isabelle" |
92 |
92 |
93 [ -x $ISABELLE_TOOL ] || fail "Cannot run $ISABELLE_TOOL" |
93 [ -x $ISABELLE_TOOL ] || fail "Cannot run $ISABELLE_TOOL" |
94 |
94 |
95 if [ "$1" = "-l" ]; then |
95 if [ "$1" = "-l" ]; then |
96 shift |
96 shift |