diff options
Diffstat (limited to 'generic/tclTest.c')
| -rw-r--r-- | generic/tclTest.c | 9 | 
1 files changed, 6 insertions, 3 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c index 35bff84..4e717bd 100644 --- a/generic/tclTest.c +++ b/generic/tclTest.c @@ -14,7 +14,7 @@   * See the file "license.terms" for information on usage and redistribution of   * this file, and for a DISCLAIMER OF ALL WARRANTIES.   * - * RCS: @(#) $Id: tclTest.c,v 1.148 2010/03/06 06:29:24 nijtmans Exp $ + * RCS: @(#) $Id: tclTest.c,v 1.149 2010/03/07 14:39:26 nijtmans Exp $   */  #undef STATIC_BUILD @@ -22,7 +22,7 @@  #   define USE_TCL_STUBS  #endif  #include "tclInt.h" - +#include "tclOO.h"  /*   * Required for Testregexp*Cmd   */ @@ -545,6 +545,9 @@ Tcltest_Init(      if (Tcl_TomMath_InitStubs(interp, "8.5") == NULL) {  	return TCL_ERROR;      } +    if (Tcl_OOInitStubs(interp) == NULL) { +	return TCL_ERROR; +    }      /* TIP #268: Full patchlevel instead of just major.minor */      if (Tcl_PkgProvide(interp, "Tcltest", TCL_PATCH_LEVEL) == TCL_ERROR) { @@ -757,7 +760,7 @@ int  Tcltest_SafeInit(      Tcl_Interp *interp)		/* Interpreter for application. */  { -    if (Tcl_InitStubs(interp, "8.1", 0) == NULL) { +    if (Tcl_InitStubs(interp, "8.5", 0) == NULL) {  	return TCL_ERROR;      }      return Procbodytest_SafeInit(interp);  | 
