testall.red 659 B

123456789101112131415161718192021222324
  1. %
  2. % This script is normally run as
  3. % r37 ../util/testall.red -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();
  10. if boundp 'which_module and which_module and not (which_module = "") then <<
  11. mods := compress explodec which_module;
  12. if member(mods, r37_test_cases) then test_a_package list mods
  13. else error(0, list("unknown module to test", which_module)) >>
  14. else test_a_package r37_test_cases;
  15. end;
  16.