[PATCH] Regression tests in windows ignore white space - Mailing list pgsql-hackers

From David Rowley
Subject [PATCH] Regression tests in windows ignore white space
Date
Msg-id CAApHDvpwUowbD9dv6qhzm7jreXz=o4Cimb865uPBVySYG_BsqQ@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] Regression tests in windows ignore white space
List 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


Attachment

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: INSERT...ON DUPLICATE KEY LOCK FOR UPDATE
Next
From: David Rowley
Date:
Subject: Re: [PATCH] Negative Transition Aggregate Functions (WIP)