2000-01-09:resultmap 支持已添加到回归测试中
25 年前的今天(PostgreSQL 7.0 开发周期),在回归测试中增加了 resultmap
支持
commit bd62e062aa8a976317187a18f3c9774cccdaf0e4 Author: Tom Lane <tgl@sss.pgh.pa.us> Date: Sun Jan 9 07:54:00 2000 +0000 New scheme for managing platform-specific regress test result files. Instead of hard-wiring one result file per platform, there is a map file 'resultmap' that says which one to use --- a lot like template/.similar. I have only created entries in resultmap for my own platform (HPUX) so far; feel free to add lines for other platforms.
核心 PostgreSQL resultmap
文件是 src/test/regress/resultmap。截至 PostgreSQL 18,它只包含两个条目,都为特定于 Windows 的回归测试文件提供了支持
$ cat src/test/regress/resultmap float4:out:.*-.*-cygwin.*=float4-misrounded-input.out float4:out:.*-.*-mingw.*=float4-misrounded-input.out