test/Tools/isac/Test_Isac.thy
author Walther Neuper <neuper@ist.tugraz.at>
Tue, 14 Sep 2010 12:12:42 +0200
branchisac-update-Isa09-2
changeset 38009 b49723351533
parent 37985 test/Tools/isac/Run_Tests.thy@0be0c4e7ab9e
child 38010 a37a3ab989f4
permissions -rw-r--r--
adapted is_copy_named from v___ to v'''

Unclear comment for 'fun is_copy_named_generating',
thus probably still broken; waiting for further tests.
Tests are still run from Build_Isac.
neuper@38009
     1
(* Title Run_Tests on isac
neuper@37985
     2
$ cd /usr/local/isabisac/test/Tools/isac
neuper@37985
     3
$ /usr/local/isabisac/bin/isabelle emacs Run_Tests.thy &
neuper@37985
     4
neuper@38009
     5
was sml/RTEST-root.sml in isac-2002
neuper@37985
     6
*)
neuper@37985
     7
neuper@38009
     8
theory Test_Isac imports Isac begin
neuper@38009
     9
 
neuper@38009
    10
ML{* writeln "**** run the tests **************************************" *};
neuper@38009
    11
(* 
neuper@38009
    12
cd "systest";
neuper@38009
    13
(*+ check kbtest/diffapp.sml for additional items in met-model*)
neuper@38009
    14
       	use"root-equ.sml"; 
neuper@38009
    15
       	use"script.sml";   
neuper@38009
    16
	(* use"script_if.sml"; WN03 missing: is_rootequation_in*)
neuper@38009
    17
       	use"scriptnew.sml";     
neuper@38009
    18
       	use"subp-rooteq.sml";   
neuper@38009
    19
	use"tacis.sml";
neuper@38009
    20
	use"interface-xml.sml";
neuper@38009
    21
	(* use"testdaten.sml"; no update after dropping 'errorBound'*)    
neuper@38009
    22
 	cd "../..";
neuper@38009
    23
*)
neuper@38009
    24
ML{* writeln "**** run systests complete ******************************" *};
neuper@38009
    25
(*
neuper@38009
    26
cd"smltest/Scripts";
neuper@38009
    27
 	use"calculate-float.sml";
neuper@38009
    28
 	use"calculate.sml";
neuper@38009
    29
	use"listg.sml";
neuper@38009
    30
	use"rewrite.sml";
neuper@38009
    31
 	use"scrtools.sml";
neuper@38009
    32
        use"term.sml";
neuper@38009
    33
 	use"tools.sml";
neuper@38009
    34
 	cd "../.."; 
neuper@38009
    35
cd"smltest/ME";
neuper@38009
    36
        use"ctree.sml";
neuper@38009
    37
*)
neuper@38009
    38
use "Interpret/calchead.sml"
neuper@38009
    39
(*
neuper@38009
    40
       	use"calchead.sml"; 
neuper@38009
    41
 	use"rewtools.sml";
neuper@38009
    42
        use"solve.sml"; (*detailrls can notyet ackn. 'Rewrite_Set "cancel"' *);
neuper@38009
    43
        use"inform.sml";
neuper@38009
    44
	use"me.sml";
neuper@38009
    45
       	use"ptyps.sml"; 
neuper@38009
    46
 	cd "../.."; 
neuper@38009
    47
cd"smltest/xmlsrc";
neuper@38009
    48
 	use"datatypes.sml";        
neuper@38009
    49
       	use"pbl-met-hierarchy.sml"; 
neuper@38009
    50
       	use"thy-hierarchy.sml"; 
neuper@38009
    51
 	cd "../.."; 
neuper@38009
    52
cd"smltest/FE-interface";
neuper@38009
    53
       	use"interface.sml";
neuper@38009
    54
 	cd "../..";
neuper@38009
    55
*)
neuper@38009
    56
ML{* writeln "**** run tests on math-engine complete ******************" *};
neuper@38009
    57
(*
neuper@38009
    58
cd"smltest/IsacKnowledge";
neuper@38009
    59
        use"atools.sml";
neuper@38009
    60
 	use"complex.sml";
neuper@38009
    61
 	use"diff.sml";
neuper@38009
    62
 	use"diffapp.sml";
neuper@38009
    63
	use"integrate.sml";
neuper@38009
    64
	use"equation.sml";
neuper@38009
    65
	(*use"inssort.sml"; problems with recdef in Isabelle2002*)
neuper@38009
    66
 	use"logexp.sml";
neuper@38009
    67
 	use"poly.sml";
neuper@38009
    68
 	use"polyminus.sml";
neuper@38009
    69
 	use"polyeq.sml";  (*TODO 31.b, n1., 44.a, 1.a~, 1.b (all'expanded')WN
neuper@38009
    70
 			     ? also check others without check 'diff.behav.'*);
neuper@38009
    71
 	use"rateq.sml";
neuper@38009
    72
 	use"rational.sml" (*TODO add_fractions_p throws overflow-exn      WN*);
neuper@38009
    73
 	use"rlang.sml";    (*WN.12.6.03: for TODOs search 'writeln', 
neuper@38009
    74
 			     for simplification search MG 
neuper@38009
    75
 		 erls:       98a(1) 104a(1) 104a(2) 68a *);
neuper@38009
    76
 	use"root.sml";
neuper@38009
    77
 	use"rooteq.sml";
neuper@38009
    78
 	use"rootrateq.sml";
neuper@38009
    79
 	use"termorder.sml";
neuper@38009
    80
 	use"trig.sml";
neuper@38009
    81
 	use"vect.sml";  
neuper@38009
    82
	use"wn.sml";
neuper@38009
    83
	use"eqsystem.sml";
neuper@38009
    84
	use"biegelinie.sml";
neuper@38009
    85
	use"algein.sml";
neuper@38009
    86
 	cd "../..";
neuper@38009
    87
*)
neuper@38009
    88
ML{* writeln "**** run tests on IsacKnowledge complete ****************" *};
neuper@38009
    89
(*
neuper@38009
    90
val path = "/home/neuper/proto2/testsml2xml/"; 
neuper@38009
    91
pbl_hierarchy2file (path ^ "pbl/");
neuper@38009
    92
pbls2file          (path ^ "pbl/");
neuper@38009
    93
met_hierarchy2file (path ^ "met/");
neuper@38009
    94
mets2file          (path ^ "met/");
neuper@38009
    95
thy_hierarchy2file (path ^ "thy/");
neuper@38009
    96
thes2file          (path ^ "thy/");
neuper@38009
    97
cd"sml";
neuper@38009
    98
*)
neuper@38009
    99
ML{* writeln "**** tested creation of xmldata *************************" *};
neuper@37985
   100
neuper@38009
   101
ML{*states:=[];
neuper@38009
   102
     writeln "=========================================================";
neuper@38009
   103
     
neuper@38009
   104
     writeln "**** run systests complete ***************** re-organize!";
neuper@38009
   105
     writeln "**** run tests on math-engine complete ******************";
neuper@38009
   106
     writeln "**** run tests on IsacKnowledge complete ****************";
neuper@38009
   107
     writeln "**** build isac kernel + run tests complete *************";
neuper@38009
   108
     writeln "**** tested creation of xmldata *************************";
neuper@38009
   109
*}
neuper@37985
   110
neuper@37985
   111
end