testall.red 603 B

12345678910111213141516171819202122
  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. if boundp 'which_module and which_module and not (which_module = "") then <<
  11. mods := compress explodec which_module;
  12. if member(mods, r38_test_cases) then test_a_package list mods
  13. else error(0, list("unknown module to test", which_module)) >>
  14. else test_a_package r38_test_cases;
  15. end;