blob: 5d749ac82fa88bed15ece133ddedba19a2120816 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/usr/bin/env math -script
SetOptions[ $Output, FormatType -> OutputForm ];
<< MUnitRunner`;
(****************************************************************)
(* Initialise *)
(****************************************************************)
Kranc`KrancDirectory = FileNameJoin[{Directory[],".."}];
$Path = Join[$Path,
{Kranc`KrancDirectory <> "/Tools/CodeGen",
Kranc`KrancDirectory <> "/Tools/MathematicaMisc",
Kranc`KrancDirectory <> "/Tools/PirahaPeg"}];
Needs["Errors`"];
Needs["KrancThorn`"];
(* (\* Needs["Profile`"]; *\) *)
SetDebugLevel[DebugQuiet];
tests = {
"Kranc",
"McLachlan"
};
(Print["\n"]; TestRun[#<>".mt", Loggers -> {VerbosePrintLogger[]}, TestRunTitle -> #]) & /@ tests;
Print[];
|