testall-personal.red 653 B

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