File: testall.red

package info (click to toggle)
mathpiper 0.81f%2Bsvn4469%2Bdfsg3-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 36,576 kB
  • sloc: java: 57,479; lisp: 13,721; objc: 1,300; xml: 988; makefile: 114; awk: 95; sh: 38
file content (25 lines) | stat: -rw-r--r-- 632 bytes parent folder | download | duplicates (4)
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
%
% This script is normally run as
%     reduce DIR/testall.red -D@srcdir=DIR -Dwhich=XXX
% where XXX is the name of a module that is to be tested. If XXX is left
% empty then the script will test all known modules.
%
% Maybe most neatly used via
%      make testall
% OR   make test1 which=MODULENAME
%

symbolic;

load!-module 'remake;

get_configuration_data();

if boundp 'which and which and not (which = "") then <<
   mods := compress explodec which;
   if member(mods, reduce_test_cases) then test_a_package list mods
   else error(0, list("unknown module to test", module)) >>
else test_a_package reduce_test_cases;

end;