]> 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)
commit2dbd2cc5a9295f821022e87e20450428ab017608
tree7aeb7ff7de6549da838d3de092b9fb5375b700b7
parent4f119e156e65546aec55e06d288e6f6a8e10f958
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