Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
c1ae39a0
Commit
c1ae39a0
authored
Jun 22, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add pgtest script.
parent
dd81eee2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
src/tools/pgtest
src/tools/pgtest
+33
-0
No files found.
src/tools/pgtest
0 → 100755
View file @
c1ae39a0
:
# This runs a build/initdb/regression test suite
[ ! "$PGDATA" ] && echo "You must define PGDATA" 1>&2 && exit 1
[ ! -d src ] && echo "This must be run from the top of the PostgreSQL source tree" 1>&2 && exit 1
trap "rm -rf /tmp/$$" 0 1 2 3 15
mkdir /tmp/$$
TMP="/tmp/$$"
pg_ctl stop
rm -rf "$PGDATA"
cd src
# return command error value
(gmake clean; gmake install 2>&1; echo "$?" > $TMP/ret) |
(tee $TMP/0; exit `cat $TMP/ret`) &&
initdb &&
pg_ctl start &&
createdb test &&
cd src/test/regress &&
gmake clean &&
gmake installcheck
cat $TMP/0 |
grep -v warning |
grep -v setproctitle |
grep -v find_rule |
grep -v yy_flex_realloc |
grep -v '\[javac\] [0-9]* warning'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment