testrest.red 634 B

12345678910111213141516171819202122232425
  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. report_incomplete_tests r37_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, r37_test_cases) then complete_tests list mods
  14. else error(0, list("unknown module to test", which_module)) >>
  15. else complete_tests r37_test_cases;
  16. end;