home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / TCL / ITCL / _ITCL.TAR / usr / lib / itcl / tests / all < prev    next >
Encoding:
Text File  |  1994-03-21  |  1.8 KB  |  44 lines

  1. #
  2. # Main test suite for [incr Tcl]
  3. # ----------------------------------------------------------------------
  4. #   AUTHOR:  Michael J. McLennan       Phone: (610)712-2842
  5. #            AT&T Bell Laboratories   E-mail: michael.mclennan@att.com
  6. #
  7. #      RCS:  all,v 1.1.1.1 1994/03/21 22:09:50 mmc Exp
  8. # ----------------------------------------------------------------------
  9. #               Copyright (c) 1993  AT&T Bell Laboratories
  10. # ======================================================================
  11. # Permission to use, copy, modify, and distribute this software and its
  12. # documentation for any purpose and without fee is hereby granted,
  13. # provided that the above copyright notice appear in all copies and that
  14. # both that the copyright notice and warranty disclaimer appear in
  15. # supporting documentation, and that the names of AT&T Bell Laboratories
  16. # any of their entities not be used in advertising or publicity
  17. # pertaining to distribution of the software without specific, written
  18. # prior permission.
  19. #
  20. # AT&T disclaims all warranties with regard to this software, including
  21. # all implied warranties of merchantability and fitness.  In no event
  22. # shall AT&T be liable for any special, indirect or consequential
  23. # damages or any damages whatsoever resulting from loss of use, data or
  24. # profits, whether in an action of contract, negligence or other
  25. # tortuous action, arising out of or in connection with the use or
  26. # performance of this software.
  27. # ======================================================================
  28.  
  29. global TEST_ABS_TOL TEST_REL_TOL
  30. set TEST_ABS_TOL 1.0e-6
  31. set TEST_REL_TOL 1.0e-5
  32.  
  33. if {![file readable "testlib.tcl"]} {
  34.     error "ERROR: execute test suite in \"tests\" directory"
  35. }
  36.  
  37. lappend auto_path .
  38.  
  39. foreach i [lsort [glob ./*.test]] {
  40.     source $i
  41. }
  42. puts stdout "== ALL TESTS SUCCESSFUL =="
  43. exit
  44.