]> 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:06:40 +0000 (10:06 -0700)
commit57f00608913db9c21d5f52ec6e13582c8adf2b61
tree9a6ba0dbec7fa4af165045fdb25c57260639ab73
parent6ca51b155256b2e814b0238119a70545e78106ec
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