[PATCH] Regression tests in windows ignore white space

Поиск
Список
Период
Сортировка
От David Rowley
Тема [PATCH] Regression tests in windows ignore white space
Дата
Msg-id CAApHDvpwUowbD9dv6qhzm7jreXz=o4Cimb865uPBVySYG_BsqQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: [PATCH] Regression tests in windows ignore white space
Список pgsql-hackers
In the following thread I discovered that my new regression tests worked perfectly on windows, but when they were run on linux they failed.


After looking at pg_regress to see which options it passes to diff I discovered that it passes -w on windows to ignore ALL white space.

The attached simple patch changes this so that it only ignores carriage returns. It does this by passing --strip-trailing-cr to diff instead of -w. This should help us few developers who use windows to get our white space correct in out expected results so that the tests also pass on non windows platforms.

Regards

David Rowley


Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: INSERT...ON DUPLICATE KEY LOCK FOR UPDATE
Следующее
От: David Rowley
Дата:
Сообщение: Re: [PATCH] Negative Transition Aggregate Functions (WIP)