src/Tools/isac/Test_Isac.thy
author Walther Neuper <neuper@ist.tugraz.at>
Mon, 11 Oct 2010 12:55:40 +0200
branchisac-update-Isa09-2
changeset 38057 293a30867f15
parent 38056 98ebf8c25a28
child 38059 1c76b4b60f52
permissions -rw-r--r--
intermed. repair Isac.thy, thehier := the_hier ...

*** ME_Isa: thy 'Isac.thy' not in system
TODO query-replace ".thy" --> ""
     1 (* Title: Run_Tests on isac
     2    Author: Walther Neuper 100808
     3    (c) due to copyright terms
     4 
     5 $ cd /usr/local/isabisac/src/Tools/isac
     6 $ /usr/local/isabisac/bin/isabelle emacs -l Isac Test_Isac.thy &
     7 $ /usr/local/isabisac/bin/isabelle emacs Test_Isac.thy &
     8 
     9 RESTART emacs after having created a new Isac heap with
    10 $ /usr/local/isabisac/bin/isabelle usedir -b HOL Isac
    11 
    12 12345678901234567890123456789012345678901234567890123456789012345678901234567890
    13         10        20        30        40        50        60        70        80
    14 *)
    15 
    16 theory Test_Isac imports "Knowledge/Isac" begin
    17 
    18 ML{* writeln "**** run the tests **************************************" *};
    19 ML {* Toplevel.debug := true; *}
    20 (* 
    21 cd "systest";
    22 (*+ check kbtest/diffapp.sml for additional items in met-model*)
    23        	use"root-equ.sml"; 
    24        	use"script.sml";   
    25 	(* use"script_if.sml"; WN03 missing: is_rootequation_in*)
    26        	use"scriptnew.sml";     
    27        	use"subp-rooteq.sml";   
    28 	use"tacis.sml";
    29 	use"interface-xml.sml";
    30 	(* use"testdaten.sml"; no update after dropping 'errorBound'*)    
    31  	cd "../..";
    32 *)
    33 ML{* writeln "**** run systests complete ******************************" *};
    34 (*
    35 cd"smltest/Scripts";
    36 *)
    37 
    38 
    39 use"../../../test/Tools/isac/ProgLang/termC.sml"; (*part.*)
    40 
    41 
    42 use"../../../test/Tools/isac/ProgLang/calculate.sml"; (*part.*)
    43 use"../../../test/Tools/isac/ProgLang/rewrite.sml"; (*GOON*)
    44 (*
    45 	use"listg.sml";
    46  	use"scrtools.sml";
    47  	use"tools.sml";
    48  	cd "../.."; 
    49 cd"smltest/ME";
    50 *)
    51 use "../../../test/Tools/isac/Interpret/mstools.sml"; (*empty*)
    52 (*      use"ctree.sml";
    53 *)
    54 use "../../../test/Tools/isac/Interpret/ptyps.sml";   (*TODO*)
    55 use "../../../test/Tools/isac/Interpret/calchead.sml";
    56 (*
    57  	use"rewtools.sml";
    58         use"solve.sml"; (*detailrls can notyet ackn. 'Rewrite_Set "cancel"' *);
    59         use"inform.sml";
    60 	use"me.sml";
    61        	use"ptyps.sml"; 
    62  	cd "../.."; 
    63 cd"smltest/xmlsrc";
    64  	use"datatypes.sml";        
    65        	use"pbl-met-hierarchy.sml"; 
    66        	use"thy-hierarchy.sml"; 
    67  	cd "../.."; 
    68 cd"smltest/FE-interface";
    69 *)
    70 use"../../../test/Tools/isac/Frontend/interface.sml"; (**)
    71 (*
    72  	cd "../..";
    73 *)
    74 ML{* writeln "**** run tests on math-engine complete ******************" *};
    75 (*
    76 cd"smltest/IsacKnowledge"; ---below the order as in theoryy Isac---
    77         use"atools.sml";
    78  	use"termorder.sml";
    79 *)
    80 use"../../../test/Tools/isac/Knowledge/rational.sml"; (*part.*)
    81 (*
    82 	use"equation.sml";
    83  	use"root.sml";
    84 	(*use"inssort.sml"; problems with recdef in Isabelle2002*)
    85  	use"rooteq.sml";
    86  	use"rateq.sml";
    87  	use"rootrateq.sml";
    88 
    89  	use"polyeq.sml";  (*TODO 31.b, n1., 44.a, 1.a~, 1.b (all'expanded')WN
    90  			     ? also check others without check 'diff.behav.'*);
    91  	use"rlang.sml";    (*WN.12.6.03: for TODOs search 'writeln', 
    92  			     for simplification search MG 
    93  		 erls:       98a(1) 104a(1) 104a(2) 68a *);
    94 	use"wn.sml";
    95  	use"trig.sml";
    96  	use"logexp.sml";
    97  	use"diff.sml";
    98 *)
    99 use "../../../test/Tools/isac/Knowledge/integrate.sml"; (*all done*)
   100 (*
   101 	use"eqsystem.sml";
   102 *)
   103 use "../../../test/Tools/isac/Knowledge/polyminus.sml"; (* part. *)
   104 (*
   105  	use"vect.sml";  
   106  	use"diffapp.sml";
   107 	use"biegelinie.sml";
   108 	use"algein.sml";
   109 *)
   110 ML {*print_depth 5*}
   111 use "../../../test/Tools/isac/Knowledge/isac.sml"; (**)
   112 
   113 ML {*111*}
   114 
   115 (*
   116  	cd "../..";
   117 *)
   118 (* TODO
   119 use_thy "../../Tools/isac/ADDTESTS/file-depend/Build_Test"
   120 :
   121 *** Could not find theory file "Foo_Language.thy" in "1language", "/usr/local/isabisac/test/Tools/isac", ".", "$ISABELLE_HOME/src/HOL/Library"
   122 *** Theory loader: the error(s) above occurred while examining theory "Foo_Language"
   123 
   124 use_thy "../../Tools/isac/ADDTESTS/trace-rewrite/Build_Test"
   125 *)
   126 use_thy "../../../test/Pure/Isar/Test_Parse_Term"
   127 use_thy "../../../test/Pure/Isar/Test_Parsers"
   128 
   129 ML{* writeln "**** run tests on IsacKnowledge complete ****************" *};
   130 (*
   131 val path = "/home/neuper/proto3/testsml2xml/"; 
   132 pbl_hierarchy2file (path ^ "pbl/");
   133 pbls2file          (path ^ "pbl/");
   134 met_hierarchy2file (path ^ "met/");
   135 mets2file          (path ^ "met/");
   136 thy_hierarchy2file (path ^ "thy/");
   137 thes2file          (path ^ "thy/");
   138 cd"sml";
   139 *)
   140 ML{* writeln "**** tested creation of xmldata *************************" *};
   141 
   142 ML{*states:=[];
   143      writeln "=========================================================";
   144      
   145      writeln "**** run systests complete ***************** re-organize!";
   146      writeln "**** run tests on math-engine complete ******************";
   147      writeln "**** run tests on IsacKnowledge complete ****************";
   148      writeln "**** build isac kernel + run tests complete *************";
   149      writeln "**** tested creation of xmldata *************************";
   150 *}
   151 
   152 end
   153 
   154 (*=== inhibit exn ?=============================================================
   155 ===== inhibit exn ?===========================================================*)
   156 
   157 
   158 (*========== inhibit exn =======================================================
   159 
   160 "########### testcode inserted vvv ###########################################";
   161 "########### testcode inserted ^^^ ###########################################";
   162 
   163 ============ inhibit exn =====================================================*)
   164 
   165 
   166 (*-.-.-.-.-.-isolate response.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
   167 -.-.-.-.-.-.-isolate response.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.*)