Re: TAP tests and symlinks on Windows
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>, Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>, Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-06-23T10:55:27Z
Lists: pgsql-hackers
Attachments
- win32-readlink-tap-v2.patch (text/x-diff) patch v2
On Wed, Jun 17, 2020 at 04:44:34PM +0900, Michael Paquier wrote: > Okay. This could be a problem as jacana is proving to have good > coverage AFAIK. So it looks like we are really heading in the > direction is still skipping the test if there is no support for > symlink in the environment. At least that makes less diffs in the > patch. I have implemented a patch based on the feedback received that does the following, tested with all three patterns (MSVC only on Windows): - Assume that all non-Windows platform have a proper symlink implementation for perl. - If on Windows, check for the presence of Win32::Symlink: -- If the module is not detected, skip the tests not supported. -- If the module is detected, run them. I have added this patch to the next commit fest: https://commitfest.postgresql.org/28/2612/ Thanks, -- Michael
Commits
-
Enable almost all TAP tests involving symlinks on Windows
- d66b23b032d7 14.0 landed