testrest.red 648 B

123456789101112131415161718192021222324
  1. %
  2. % This script is normally run as
  3. % ./r38 ../util/testall.red -D@srcdir=DIR -Dwhich_module=XXX
  4. % where XXX is the name of a module that is to be tested. If XXX is left
  5. % empty then the script will test all known modules.
  6. %
  7. symbolic;
  8. load!-module 'remake;
  9. get_configuration_data t;
  10. report_incomplete_tests r38_test_cases;
  11. if boundp 'which_module and which_module and not (which_module = "") then <<
  12. mods := compress explodec which_module;
  13. if member(mods, r38_test_cases) then complete_tests list mods
  14. else error(0, list("unknown module to test", which_module)) >>
  15. else complete_tests r38_test_cases;
  16. end;