src/Tools/isac/Test_Isac.thy
author Walther Neuper <neuper@ist.tugraz.at>
Tue, 28 Sep 2010 09:37:41 +0200
branchisac-update-Isa09-2
changeset 38032 121765ba0a34
parent 38030 95d956108461
child 38036 02a9b2540eb7
permissions -rw-r--r--
replaced Some,None --> SOME,NONE in all test/../isac/*
     1 (* Title Run_Tests on isac
     2 $ cd /usr/local/isabisac/test/Tools/isac
     3 $ /usr/local/isabisac/bin/isabelle emacs -l Isac Test_Isac.thy &
     4 
     5 RESTART emacs after having created a new Isac heap.
     6 was sml/RTEST-root.sml in isac-2002
     7 
     8 12345678901234567890123456789012345678901234567890123456789012345678901234567890
     9         10        20        30        40        50        60        70        80
    10 *)
    11 
    12 theory Test_Isac imports Isac begin
    13 
    14 ML{* writeln "**** run the tests **************************************" *};
    15 ML {* Toplevel.debug := true; *}
    16 (* 
    17 cd "systest";
    18 (*+ check kbtest/diffapp.sml for additional items in met-model*)
    19        	use"root-equ.sml"; 
    20        	use"script.sml";   
    21 	(* use"script_if.sml"; WN03 missing: is_rootequation_in*)
    22        	use"scriptnew.sml";     
    23        	use"subp-rooteq.sml";   
    24 	use"tacis.sml";
    25 	use"interface-xml.sml";
    26 	(* use"testdaten.sml"; no update after dropping 'errorBound'*)    
    27  	cd "../..";
    28 *)
    29 ML{* writeln "**** run systests complete ******************************" *};
    30 (*
    31 cd"smltest/Scripts";
    32 *)
    33 use"../../../test/Tools/isac/ProgLang/termC.sml"; (*part.*)
    34 
    35 use"../../../test/Tools/isac/ProgLang/calculate.sml"; (*part.*)
    36 
    37 use"../../../test/Tools/isac/ProgLang/rewrite.sml"; (*part.*)
    38 (*
    39 	use"listg.sml";
    40  	use"scrtools.sml";
    41  	use"tools.sml";
    42  	cd "../.."; 
    43 cd"smltest/ME";
    44         use"ctree.sml";
    45 *)
    46 use "../../../test/Tools/isac/Interpret/calchead.sml" (*part.*)
    47 (*
    48        	use"calchead.sml"; 
    49  	use"rewtools.sml";
    50         use"solve.sml"; (*detailrls can notyet ackn. 'Rewrite_Set "cancel"' *);
    51         use"inform.sml";
    52 	use"me.sml";
    53        	use"ptyps.sml"; 
    54  	cd "../.."; 
    55 cd"smltest/xmlsrc";
    56  	use"datatypes.sml";        
    57        	use"pbl-met-hierarchy.sml"; 
    58        	use"thy-hierarchy.sml"; 
    59  	cd "../.."; 
    60 cd"smltest/FE-interface";
    61        	use"interface.sml";
    62  	cd "../..";
    63 *)
    64 ML{* writeln "**** run tests on math-engine complete ******************" *};
    65 (*
    66 cd"smltest/IsacKnowledge";
    67         use"atools.sml";
    68  	use"complex.sml";
    69  	use"diff.sml";
    70  	use"diffapp.sml";
    71 *)
    72 use "../../../test/Tools/isac/Knowledge/integrate.sml"; (*part.*)
    73 (*
    74 	use"equation.sml";
    75 	(*use"inssort.sml"; problems with recdef in Isabelle2002*)
    76  	use"logexp.sml";
    77 *)
    78 use"../../../test/Tools/isac/Knowledge/poly.sml"; (*part.*)
    79 (*
    80  	use"polyminus.sml";
    81  	use"polyeq.sml";  (*TODO 31.b, n1., 44.a, 1.a~, 1.b (all'expanded')WN
    82  			     ? also check others without check 'diff.behav.'*);
    83  	use"rateq.sml";
    84  	use"rational.sml" (*TODO add_fractions_p throws overflow-exn      WN*);
    85  	use"rlang.sml";    (*WN.12.6.03: for TODOs search 'writeln', 
    86  			     for simplification search MG 
    87  		 erls:       98a(1) 104a(1) 104a(2) 68a *);
    88  	use"root.sml";
    89  	use"rooteq.sml";
    90  	use"rootrateq.sml";
    91  	use"termorder.sml";
    92  	use"trig.sml";
    93  	use"vect.sml";  
    94 	use"wn.sml";
    95 	use"eqsystem.sml";
    96 	use"biegelinie.sml";
    97 	use"algein.sml";
    98  	cd "../..";
    99 *)
   100 (* TODO
   101 use_thy "../../Tools/isac/ADDTESTS/file-depend/Build_Test"
   102 
   103 *** Could not find theory file "Foo_Language.thy" in "1language", "/usr/local/isabisac/test/Tools/isac", ".", "$ISABELLE_HOME/src/HOL/Library"
   104 *** Theory loader: the error(s) above occurred while examining theory "Foo_Language"
   105 
   106 use_thy "../../Tools/isac/ADDTESTS/trace-rewrite/Build_Test"
   107 *)
   108 use_thy "../../../test/Pure/Isar/Test_Parse_Term"
   109 use_thy "../../../test/Pure/Isar/Test_Parsers"
   110 
   111 ML{* writeln "**** run tests on IsacKnowledge complete ****************" *};
   112 (*
   113 val path = "/home/neuper/proto3/testsml2xml/"; 
   114 pbl_hierarchy2file (path ^ "pbl/");
   115 pbls2file          (path ^ "pbl/");
   116 met_hierarchy2file (path ^ "met/");
   117 mets2file          (path ^ "met/");
   118 thy_hierarchy2file (path ^ "thy/");
   119 thes2file          (path ^ "thy/");
   120 cd"sml";
   121 *)
   122 ML{* writeln "**** tested creation of xmldata *************************" *};
   123 
   124 ML{*states:=[];
   125      writeln "=========================================================";
   126      
   127      writeln "**** run systests complete ***************** re-organize!";
   128      writeln "**** run tests on math-engine complete ******************";
   129      writeln "**** run tests on IsacKnowledge complete ****************";
   130      writeln "**** build isac kernel + run tests complete *************";
   131      writeln "**** tested creation of xmldata *************************";
   132 *}
   133 
   134 end