equal
deleted
inserted
replaced
184 fun get_systems () = |
184 fun get_systems () = |
185 case bash_output "\"$ISABELLE_ATP/scripts/remote_atp\" -w 2>&1" of |
185 case bash_output "\"$ISABELLE_ATP/scripts/remote_atp\" -w 2>&1" of |
186 (output, 0) => split_lines output |
186 (output, 0) => split_lines output |
187 | (output, _) => |
187 | (output, _) => |
188 error (case extract_known_failure known_perl_failures output of |
188 error (case extract_known_failure known_perl_failures output of |
189 SOME failure => string_for_failure failure |
189 SOME failure => string_for_failure "ATP" failure |
190 | NONE => perhaps (try (unsuffix "\n")) output ^ ".") |
190 | NONE => perhaps (try (unsuffix "\n")) output ^ ".") |
191 |
191 |
192 fun find_system name [] systems = find_first (String.isPrefix name) systems |
192 fun find_system name [] systems = find_first (String.isPrefix name) systems |
193 | find_system name (version :: versions) systems = |
193 | find_system name (version :: versions) systems = |
194 case find_first (String.isPrefix (name ^ "---" ^ version)) systems of |
194 case find_first (String.isPrefix (name ^ "---" ^ version)) systems of |