From a9c9179635656d100361bcd513e971f2d71c7ac8 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Wed, 10 Apr 2002 04:57:28 +0000 Subject: [PATCH] r1779: *** empty log message *** --- doc/intro.sgml | 22 ++++++++++++---------- test-suite/tester-clsql.cl | 13 ++++++++++++- 2 files changed, 24 insertions(+), 11 deletions(-) diff --git a/doc/intro.sgml b/doc/intro.sgml index c7b2d18..5f0b76b 100644 --- a/doc/intro.sgml +++ b/doc/intro.sgml @@ -72,16 +72,6 @@ are zip files for Microsoft Windows systems and gzipped tar files for other systems. - - XPTest (optional) - The test suite for &clsql; uses the onShore Development's -XPTest package. onShore has graciously put the package in the public -domain. You can download the package from onShore's web site. -This package is not required except if you wish to run the &clsql; -test suite. - - Supported Common Lisp Implementation @@ -188,6 +178,18 @@ the main :clsql system and at least one interface system. + + Run test suite + + After loading &clsql;, you can execute the test program in +the directory ./test-suite. The test file, +tester-clsql +has instructions for creating a test.config. +After creating that file, simple load the test file with Lisp +and the tests should automatically execute. + + + diff --git a/test-suite/tester-clsql.cl b/test-suite/tester-clsql.cl index bcc7f6d..f3e6bef 100644 --- a/test-suite/tester-clsql.cl +++ b/test-suite/tester-clsql.cl @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Mar 2002 ;;;; -;;;; $Id: tester-clsql.cl,v 1.3 2002/04/08 03:50:00 kevin Exp $ +;;;; $Id: tester-clsql.cl,v 1.4 2002/04/10 04:57:28 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -16,6 +16,17 @@ ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. ;;;; ************************************************************************* +;;; This test suite looks for a configuration file named "test.config" +;;; This file contains a single a-list that specifies the connection +;;; specs for each database type to be tested. For example, to test all +;;; platforms, a sample "test.config" may look like: +;;; +;;; ((:mysql ("localhost" "a-mysql-db" "user1" "secret")) +;;; (:aodbc ("my-dsn" "a-user" "pass")) +;;; (:paostgresql ("localhost" "another-db" "user2" "dont-tell")) +;;; (:postgresql-socket ("pg-server" "a-db-name" "user" "secret-password"))) + + (declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0))) (in-package :cl-user) -- 2.34.1