]> matita.cs.unibo.it Git - helm.git/commitdiff
AGAIN A TEST
authorEnrico Tassi <enrico.tassi@inria.fr>
Wed, 10 Sep 2008 13:02:09 +0000 (13:02 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Wed, 10 Sep 2008 13:02:09 +0000 (13:02 +0000)
helm/software/components/grafite_engine/grafiteEngine.ml

index d85110774a5491ce07f34e8aa3291c0c5f8316fa..aebae038789c66459d36af92a7ed035cd373eba3 100644 (file)
@@ -800,11 +800,12 @@ let rec eval_command = {ec_go = fun ~disambiguate_command opts status
      (* CALL auto on every goal, easy way of testing it *)
      let auto = 
        GrafiteAst.AutoBatch 
-         (loc, ([],["depth","1";"timeout","1";"type","1"])) in
+         (loc, ([],["depth","2";"timeout","1";"type","1"])) in
      (try
        let auto = apply_tactic ~disambiguate_tactic ("",0,auto) in
-       let _ = eval_tactical status (tactic_of_ast' auto) in ()
-     with _ -> ());
+       let _ = eval_tactical status (tactic_of_ast' auto) in 
+       print_endline "GOOD"; ()
+     with ProofEngineTypes.Fail _ -> print_endline "BAD" | _ -> ());
       eval_tactical status
        (punctuation_tactical_of_ast (text,prefix_len,punct)),[]
   | GrafiteAst.Tactic (_, None, punct) ->