Purge out tests/expected that are now in sql/expected subdirectories from
'master' file Commit mods to regress.sh so that split out tests are run...look forward to finding out how to do a proper redirect to continue visual cleanup :)
This commit is contained in:
parent
04688df668
commit
aa51d0d185
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.3 1996/11/14 16:09:28 momjian Exp $
|
||||
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.4 1997/04/05 11:58:35 scrappy Exp $
|
||||
#
|
||||
if [ -d ./obj ]; then
|
||||
cd ./obj
|
||||
@ -20,13 +20,25 @@ if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
$FRONTEND regression < create.sql
|
||||
if [ $? -ne 0 ]; then
|
||||
echo the creation script has an error
|
||||
exit 1
|
||||
fi
|
||||
#$FRONTEND regression < create.sql
|
||||
#if [ $? -ne 0 ]; then
|
||||
# echo the creation script has an error
|
||||
# exit 1
|
||||
#fi
|
||||
|
||||
echo =============== running regression queries ... =================
|
||||
for i in `cat sql/tests`
|
||||
do
|
||||
echo -n ${i} ..
|
||||
$FRONTEND regression < sql/${i}.sql 2>&1 | tee output/${i}.out
|
||||
if [ `diff expected/${i}.out output/${i}.out | wc -l` -ne 0 ]
|
||||
then
|
||||
echo failed
|
||||
else
|
||||
echo ok
|
||||
fi
|
||||
done
|
||||
exit
|
||||
$FRONTEND regression < queries.sql
|
||||
# this will generate error result code
|
||||
|
||||
|
@ -11,7 +11,6 @@ float4
|
||||
float8
|
||||
int2
|
||||
int4
|
||||
misc
|
||||
oid
|
||||
oidint2
|
||||
oidint4
|
||||
|
Loading…
x
Reference in New Issue
Block a user