tstpckge.dat 882 B

123456789101112131415161718192021222324
  1. on errcont; % So that computation continues after an error.
  2. symbolic <<linelength 80; share packge;
  3. packge := intern compress explode2 getenv "package";
  4. load!-package packge; in "$reduce/package.red";
  5. if get(packge,'folder) then packge := get(packge,'folder);
  6. if 'psl memq lispsystem!* then packge := id2string packge;
  7. packge := concat(getenv "reduce",concat("/packages/",
  8. concat(packge,concat("/",concat(getenv "package",".tst")))));
  9. !*_xxx_!* := time(); !*_yyy_!* := gctime(); nil>>$
  10. in packge;
  11. % The +- construct in the following is required to finesse Orthovec's
  12. % renaming of -.
  13. symbolic <<terpri(); terpri(); prin2 "Time for test: ";
  14. prin2 (time()+-!*_xxx_!*); prin2 " ms";
  15. if (!*_yyy_!* := gctime()+-!*_yyy_!*)>0
  16. then <<prin2 ", plus GC time: "; prin2 !*_yyy_!*;
  17. prin2 " ms"; terpri()>>>>$
  18. bye;