X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmathql_test%2Fmqitop.ml;fp=helm%2Fmathql_test%2Fmqitop.ml;h=0172472201a23fbae1380e0b1ef9765f242a019c;hb=03e2a78decd364cb401db8033b7e9472abfdcfd4;hp=4d45740cf2a7c68acb80324b769e12d4c9f14f14;hpb=ad4c175433641f3b6668971bb7b3498c31390e0e;p=helm.git diff --git a/helm/mathql_test/mqitop.ml b/helm/mathql_test/mqitop.ml index 4d45740cf..017247220 100644 --- a/helm/mathql_test/mqitop.ml +++ b/helm/mathql_test/mqitop.ml @@ -36,11 +36,12 @@ module C = MQIConn module F = MQueryIO let _ = + Helm_registry.load_from "/home/fguidi/miohelm/gTopLevel.conf.xml"; let t = P.start_time () in let ich = Lexing.from_channel stdin in let flags = if Array.length Sys.argv >= 2 then Sys.argv.(1) else "" in let log s = print_string s; flush stdout in - let handle = C.init (C.flags_of_string flags) log in + let handle = C.init_if_connected (C.flags_of_string flags) log in if not (C.connected handle) then begin print_endline "mqitop: no connection"; flush stdout end;