]> granicus.if.org Git - postgresql/commit
Report test_atomic_ops() failures consistently, via macros.
authorNoah Misch <noah@leadboat.com>
Sat, 5 Oct 2019 17:05:05 +0000 (10:05 -0700)
committerNoah Misch <noah@leadboat.com>
Sat, 5 Oct 2019 17:05:08 +0000 (10:05 -0700)
commiteb74022d242e86c88c7ee19212e5e3fa0d01bfc5
treed45969d5bea466fec1b1b11ca22a16e4f2f4b319
parent4fd51980ed5a48cb5f8255c0dc2753302fd46fc6
Report test_atomic_ops() failures consistently, via macros.

This prints the unexpected value in more failure cases, and it removes
forty-eight hand-maintained error messages.  Back-patch to 9.5, which
introduced these tests.

Reviewed (in an earlier version) by Andres Freund.

Discussion: https://postgr.es/m/20190915160021.GA24376@alvherre.pgsql
src/test/regress/regress.c