summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_bsddb.py
Commit message (Expand)AuthorAgeFilesLines
* Fix documentation bugs.Raymond Hettinger2003-09-161-73/+158
* Massive changes from SF 589982 (tempfile.py rewrite, by ZackGuido van Rossum2002-08-091-3/+2
* Oops, missed an import of test_support.Barry Warsaw2002-07-231-1/+1
* SF patch [ 545523 ] patch for 514433 bsddb.dbopen (NULL)Anthony Baxter2002-04-231-19/+26
* Move import dbhash out of test_sundry and into test_bsddb,Guido van Rossum2001-12-071-0/+1
* Check that f.keys() == [] right after creation -- this prevents bugsGuido van Rossum2001-03-221-1/+2
* a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh2001-01-171-1/+1
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-1/+1
* Update the code to better reflect recommended style:Fred Drake2000-12-121-2/+2
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-1/+1
* Remove the temp file when we're done.Guido van Rossum1999-03-241-1/+6
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-28/+28
* Test script for the bsddb C extension module.Roger E. Masse1997-01-161-0/+69
Tcl is a high-level, general-purpose, interpreted, dynamic programming language. It was designed with the goal of being very simple but powerful.
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstanton <stanton>1999-03-11 21:47:38 (GMT)
committerstanton <stanton>1999-03-11 21:47:38 (GMT)
commit9ee0bae50a473f5d1a57e71c6cf9c8238cd55f4d (patch)
treee4aa8b6d14f69842c22e62fdcf4c5683bbd26f50
parent5b3a5d29ab16e3e14db11fa869be1e1299bbc9f9 (diff)
downloadtcl-core_8_1_merge_latest.zip
tcl-core_8_1_merge_latest.tar.gz
tcl-core_8_1_merge_latest.tar.bz2
Changed package tests to build against the stubs library.core_8_1_merge_latest
Diffstat
-rw-r--r--ChangeLog13
-rw-r--r--unix/Makefile.in4
-rw-r--r--unix/dltest/Makefile.in16
-rw-r--r--unix/dltest/configure.in4
-rw-r--r--unix/dltest/pkga.c5
-rw-r--r--unix/dltest/pkgb.c8
-rw-r--r--unix/dltest/pkgc.c8
-rw-r--r--unix/dltest/pkgd.c8
-rw-r--r--unix/dltest/pkge.c5
-rw-r--r--unix/dltest/pkgf.c5
-rw-r--r--unix/tclConfig.sh.in4
11 files changed, 60 insertions, 20 deletions
diff --git a/ChangeLog b/ChangeLog
index b372a39..3456513 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+1999-03-11 <stanton@GASPODE>
+
+ * unix/tclConfig.sh.in:
+ * unix/dltest/Makefile.in:
+ * unix/dltest/configure.in:
+ * unix/dltest/pkga.c:
+ * unix/dltest/pkgb.c:
+ * unix/dltest/pkgc.c:
+ * unix/dltest/pkgd.c:
+ * unix/dltest/pkge.c:
+ * unix/dltest/pkgf.c: Changed package tests to build against the
+ stubs library.
+
1999-03-10 <stanton@GASPODE>
* generic/tclAlloc.c: Changed TCL_NATIVE_MALLOC to USE_TCLALLOC so
diff --git a/unix/Makefile.in b/unix/Makefile.in
index ec5d09c..0c51267 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -5,7 +5,7 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.19 1999/03/11 02:49:35 stanton Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.20 1999/03/11 21:47:39 stanton Exp $
# Current Tcl version; used in various names.
@@ -375,7 +375,7 @@ all: ${TCL_LIB_FILE} $(TCL_STUB_LIB_FILE) tclsh
# The following target is configured by autoconf to generate either
# a shared library or non-shared library for Tcl.
-${TCL_LIB_FILE}: ${OBJS}
+${TCL_LIB_FILE}: ${OBJS} ${STUB_LIB_FILE}
rm -f ${TCL_LIB_FILE}
@MAKE_LIB@
$(RANLIB) ${TCL_LIB_FILE}
diff --git a/unix/dltest/Makefile.in b/unix/dltest/Makefile.in
index 2b0e43b..1c0ab0f 100644
--- a/unix/dltest/Makefile.in
+++ b/unix/dltest/Makefile.in
@@ -1,10 +1,10 @@
# This Makefile is used to create several test cases for Tcl's load
# command. It also illustrates how to take advantage of configuration
# exported by Tcl to set up Makefiles for shared libraries.
-# RCS: @(#) $Id: Makefile.in,v 1.3 1998/12/10 19:09:55 rjohnson Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.4 1999/03/11 21:47:39 stanton Exp $
CC = @CC@
-LIBS = @TCL_BUILD_LIB_SPEC@ @TCL_LIBS@ -lc
+LIBS = @TCL_BUILD_STUB_LIB_SPEC@ @SHLIB_LD_LIBS@
AC_FLAGS = @EXTRA_CFLAGS@
SHLIB_CFLAGS = @SHLIB_CFLAGS@
SHLIB_LD = @SHLIB_LD@
@@ -15,29 +15,29 @@ TCL_VERSION= @TCL_VERSION@
CFLAGS = -g
CC_SWITCHES = $(CFLAGS) -I${SRC_DIR}/../../generic -DTCL_MEM_DEBUG \
- ${SHLIB_CFLAGS} ${AC_FLAGS}
+ ${SHLIB_CFLAGS} -DUSE_TCL_STUBS ${AC_FLAGS}
all: pkga${SHLIB_SUFFIX} pkgb${SHLIB_SUFFIX} pkgc${SHLIB_SUFFIX} pkgd${SHLIB_SUFFIX} pkge${SHLIB_SUFFIX}
pkga${SHLIB_SUFFIX}: $(SRC_DIR)/pkga.c
$(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkga.c
- ${SHLIB_LD} -o pkga${SHLIB_SUFFIX} pkga.o @SHLIB_LD_LIBS@
+ ${SHLIB_LD} -o pkga${SHLIB_SUFFIX} pkga.o ${LIBS}
pkgb${SHLIB_SUFFIX}: $(SRC_DIR)/pkgb.c
$(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgb.c
- ${SHLIB_LD} -o pkgb${SHLIB_SUFFIX} pkgb.o @SHLIB_LD_LIBS@
+ ${SHLIB_LD} -o pkgb${SHLIB_SUFFIX} pkgb.o ${LIBS}
pkgc${SHLIB_SUFFIX}: $(SRC_DIR)/pkgc.c
$(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgc.c
- ${SHLIB_LD} -o pkgc${SHLIB_SUFFIX} pkgc.o @SHLIB_LD_LIBS@
+ ${SHLIB_LD} -o pkgc${SHLIB_SUFFIX} pkgc.o ${LIBS}
pkgd${SHLIB_SUFFIX}: $(SRC_DIR)/pkgd.c
$(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgd.c
- ${SHLIB_LD} -o pkgd${SHLIB_SUFFIX} pkgd.o @SHLIB_LD_LIBS@
+ ${SHLIB_LD} -o pkgd${SHLIB_SUFFIX} pkgd.o ${LIBS}
pkge${SHLIB_SUFFIX}: $(SRC_DIR)/pkge.c
$(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkge.c
- ${SHLIB_LD} -o pkge${SHLIB_SUFFIX} pkge.o @SHLIB_LD_LIBS@
+ ${SHLIB_LD} -o pkge${SHLIB_SUFFIX} pkge.o ${LIBS}
clean:
rm -f *.o *${SHLIB_SUFFIX} config.cache config.log config.status lib.exp
diff --git a/unix/dltest/configure.in b/unix/dltest/configure.in
index 11ded26..a65ac38 100644
--- a/unix/dltest/configure.in
+++ b/unix/dltest/configure.in
@@ -2,7 +2,7 @@ dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run to configure the
dnl Makefile in this directory.
AC_INIT(pkga.c)
-# RCS: @(#) $Id: configure.in,v 1.3 1998/12/10 19:09:55 rjohnson Exp $
+# RCS: @(#) $Id: configure.in,v 1.4 1999/03/11 21:47:39 stanton Exp $
# Recover information that Tcl computed with its configure script.
@@ -22,7 +22,7 @@ SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX
AC_SUBST(SHLIB_SUFFIX)
SHLIB_VERSION=$TCL_SHLIB_VERSION
AC_SUBST(SHLIB_VERSION)
-AC_SUBST(TCL_BUILD_LIB_SPEC)
+AC_SUBST(TCL_BUILD_STUB_LIB_SPEC)
TCL_LIBS=$TCL_LIBS
AC_SUBST(TCL_LIBS)
TCL_VERSION=$TCL_VERSION
diff --git a/unix/dltest/pkga.c b/unix/dltest/pkga.c
index 7faeebf..4cda651 100644
--- a/unix/dltest/pkga.c
+++ b/unix/dltest/pkga.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: pkga.c,v 1.2 1998/09/14 18:40:18 stanton Exp $
+ * RCS: @(#) $Id: pkga.c,v 1.3 1999/03/11 21:47:40 stanton Exp $
*/
#include "tcl.h"
@@ -118,6 +118,9 @@ Pkga_Init(interp)
{
int code;
+ if (Tcl_InitStubs(interp, TCL_VERSION, 1) == NULL) {
+ return TCL_ERROR;
+ }
code = Tcl_PkgProvide(interp, "Pkga", "1.0");
if (code != TCL_OK) {
return code;
diff --git a/unix/dltest/pkgb.c b/unix/dltest/pkgb.c