| author | blanchet |
| Tue, 19 Nov 2013 19:36:24 +0100 | |
| changeset 54505 | d023838eb252 |
| parent 48589 | fb446a780d50 |
| child 62573 | 27f90319a499 |
| permissions | -rw-r--r-- |
|
48589
fb446a780d50
separate session HOL-Mirabelle-ex -- cannot run isolated shell scripts within build tool;
wenzelm
parents:
diff
changeset
|
1 |
theory Ex imports Pure |
|
fb446a780d50
separate session HOL-Mirabelle-ex -- cannot run isolated shell scripts within build tool;
wenzelm
parents:
diff
changeset
|
2 |
begin |
|
fb446a780d50
separate session HOL-Mirabelle-ex -- cannot run isolated shell scripts within build tool;
wenzelm
parents:
diff
changeset
|
3 |
|
|
fb446a780d50
separate session HOL-Mirabelle-ex -- cannot run isolated shell scripts within build tool;
wenzelm
parents:
diff
changeset
|
4 |
ML {*
|
|
fb446a780d50
separate session HOL-Mirabelle-ex -- cannot run isolated shell scripts within build tool;
wenzelm
parents:
diff
changeset
|
5 |
val rc = Isabelle_System.bash |
|
fb446a780d50
separate session HOL-Mirabelle-ex -- cannot run isolated shell scripts within build tool;
wenzelm
parents:
diff
changeset
|
6 |
"cd \"$ISABELLE_HOME/src/HOL/Library\"; \"$ISABELLE_TOOL\" mirabelle -q arith Inner_Product.thy"; |
|
fb446a780d50
separate session HOL-Mirabelle-ex -- cannot run isolated shell scripts within build tool;
wenzelm
parents:
diff
changeset
|
7 |
if rc <> 0 then error ("Mirabelle example failed: " ^ string_of_int rc)
|
|
fb446a780d50
separate session HOL-Mirabelle-ex -- cannot run isolated shell scripts within build tool;
wenzelm
parents:
diff
changeset
|
8 |
else (); |
|
fb446a780d50
separate session HOL-Mirabelle-ex -- cannot run isolated shell scripts within build tool;
wenzelm
parents:
diff
changeset
|
9 |
*} -- "some arbitrary small test case" |
|
fb446a780d50
separate session HOL-Mirabelle-ex -- cannot run isolated shell scripts within build tool;
wenzelm
parents:
diff
changeset
|
10 |
|
|
fb446a780d50
separate session HOL-Mirabelle-ex -- cannot run isolated shell scripts within build tool;
wenzelm
parents:
diff
changeset
|
11 |
end |
|
fb446a780d50
separate session HOL-Mirabelle-ex -- cannot run isolated shell scripts within build tool;
wenzelm
parents:
diff
changeset
|
12 |