| От | Andrew Dunstan |
|---|---|
| Тема | ignore $PostgreSQL lines in regression tests? |
| Дата | |
| Msg-id | 48306A97.4000003@dunslane.net обсуждение исходный текст |
| Ответы |
Re: ignore $PostgreSQL lines in regression tests?
|
| Список | pgsql-hackers |
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 portable 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
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера