Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9e0a8d4

Browse files
committed
improvements to regression testing
submitted by: dr. george
1 parent14cd0ca commit9e0a8d4

File tree

2 files changed

+6384
-17
lines changed

2 files changed

+6384
-17
lines changed

‎src/test/regress/Makefile

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
Fromscrappy@ki.netThuJul2505:51:19 1996
2+
Status: RO
3+
X-Status:
4+
Received: from daemun.ilt.com ([204.247.102.21]) by ki.net (8.7.5/8.7.5) with ESMTP id FAA12531 for <scrappy@ki.net>; Thu, 25 Jul 1996 05:51:16 -0400 (EDT)
5+
From: postgres@madmax.ilt.com
6+
Received: from madmax.ilt.com (madmax [199.26.203.43]) by daemun.ilt.com (8.7.5/8.7.3) with SMTP id CAA09205 for <scrappy@ki.net>; Thu, 25 Jul 1996 02:50:12 -0700 (PDT)
7+
Received: by madmax.ilt.com (SMI-8.6/ILT-SVR4-1.1)
8+
id CAA00419; Thu, 25 Jul 1996 02:45:47 -0700
9+
Date: Thu, 25 Jul 1996 02:45:47 -0700
10+
Message-Id: <199607250945.CAA00419@madmax.ilt.com>
11+
To: scrappy@ki.net
12+
Subject: /user/postgres95/src/test/regress/Makefile == revised
13+
114
#-------------------------------------------------------------------------
215
#
316
# Makefile--
@@ -7,7 +20,7 @@
720
#
821
#
922
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/test/regress/Makefile,v 1.2 1996/07/23 03:19:34 scrappy Exp $
23+
# $Header: /cvsroot/pgsql/src/test/regress/Makefile,v 1.3 1996/07/2519:56:58 scrappy Exp $
1124
#
1225
#-------------------------------------------------------------------------
1326

@@ -46,31 +59,21 @@ $(OUTFILES): $(CREATEFILES)
4659
@echo"RESULTS OF REGRESSION ARE SAVED IN$(objdir)/regress.out"
4760

4861
#
49-
# expected results file
62+
# expected results file -- expand macros for user and location
63+
#
64+
# the expected.input file is make by hand from 'regress.out' when the
65+
# regression test has been updated and a successful output obtained
5066
#
51-
expected.out: expected.in
67+
expected.out: expected.input
5268
if [-z"$$USER" ];then USER=$$LOGNAME;fi;\
5369
if [-z"$$USER" ];then USER=`whoami`;fi;\
5470
if [-z"$$USER" ];thenecho'Cannot deduce $USER.';exit 1;fi;\
5571
rm -f$(objdir)/expected.out;\
5672
C="`pwd`";\
5773
sed -e"s:_CWD_:$$C:g"\
5874
-e"s:_OBJWD_:$$C/$(objdir):g"\
59-
-e"s/_USER_/$$USER/g"< expected.in>$(objdir)/expected.out
75+
-e"s/_USER_/$$USER/g"< expected.input>$(objdir)/expected.out
6076

61-
#
62-
# make a new expected results file from the current 'results.out'
63-
# rename 'expected.new' to 'expected.in' by hand to avoid circular makes
64-
#
65-
expected.new: regress.out
66-
if [-z"$$USER" ];then USER=$$LOGNAME;fi;\
67-
if [-z"$$USER" ];then USER=`whoami`;fi;\
68-
if [-z"$$USER" ];thenecho'Cannot deduce $USER.';exit 1;fi;\
69-
C="`pwd`";\
70-
sed -e"s:$$C:_CWD_:g"\
71-
-e"s:$$C/$(objdir):_OBJWD_:g"\
72-
-e"s/$$USER/_USER_/g"<$(objdir)/regress.out> expected.new
73-
7477
#
7578
# prepare to run the test (including clean-up after the last run)
7679
#
@@ -86,3 +89,4 @@ runtest: expected.out regress.out
8689
# installation
8790
#
8891
install: localobj all
92+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp