Heikki Linnakangas wrote: > On 02.02.2011 12:20, Heikki Linnakangas wrote: >> The tests don't seem very complicated, and they don't seem to >> depend much on the dtester features. How hard would it be to >> rewrite the test engine in C or perl? >> >> I'm thinking of defining each test in a simple text file, and >> write a small test engine to parse that. > > I took a stab at doing that. Attached, untar in the top source > tree, and do "cd src/test/isolation; make check". It's like > "installcheck", so it needs a postgres server to be running. Also > available in my git repository at > git://git.postgresql.org/git/users/heikki/postgres.git, > branch "serializable". > > I think this will work. This is a rough first version, but it > already works. We can extend the test framework later if we need > more features, but I believe this is enough for all the existing > tests. Thanks for this. It does seem the way to go. I can fill it out with the rest of the tests, unless you'd rather. -Kevin
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers