Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > ignore $Postgre...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 9385 of 10966
Post > Topic >>

ignore $PostgreSQL lines in regression tests?

by andrew@[EMAIL PROTECTED] (Andrew Dunstan) May 18, 2008 at 01:42 PM

Recently while adding $PostgreSQL markers to a bunch of .c and .h files 
I ran into trouble with the ecpg regression tests and had to revert the 
change for a handful of files. However, it occurred to me that we could 
have pg_regress tell diff to ignore such lines, by passing it the 
arguments "-I  '\$PostgreSQL:' ", which would tell it to ignore 
additions or deletions of lines matching that regex.

That would probably  also allow us to add such markers as comments in 
results files, which mightn't be a bad thing either.

I'm a bit unsure how ****table this is, though. Linux, Windows and OSX 
should be ok, but they are the only OSs I run so I don't know about
others.

Would this be a good thing to do?

cheers

andrew

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
 




 4 Posts in Topic:
ignore $PostgreSQL lines in regression tests?
andrew@[EMAIL PROTECTED]   2008-05-18 13:42:47 
Re: ignore $PostgreSQL lines in regression tests?
tgl@[EMAIL PROTECTED] (T  2008-05-18 13:46:01 
Re: ignore $PostgreSQL lines in regression tests?
andrew@[EMAIL PROTECTED]   2008-05-18 14:45:26 
Re: ignore $PostgreSQL lines in regression tests?
sfrost@[EMAIL PROTECTED]   2008-05-19 08:58:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 13:36:27 CST 2008.