model-writtenrun 3660 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alvaro Herrera reported that s_lock_test failed to link because of missing math-library linkage and wait-event storage, supplied a patch fixing both, and questioned retaining a test that had remained broken unnoticed and lacked a Meson target #1.
- Tom Lane argued for retaining the standalone test because it could still help smoke-test new spinlock assembly code, despite infrequent use #2.
- Andres Freund suggested building and running the test by default, while noting that regress.c:test_spinlock() already provided similar coverage #3.
- Tom Lane explained that broken spinlocks could prevent reaching the regression test; Andres Freund accepted the standalone test's value and reiterated his proposal to run it by default #4 #5.
- Alvaro Herrera committed the attached fix with only comment and whitespace changes, stating that backpatching appeared unnecessary; automatically building and running the standalone test remained a proposal without an implementation in this thread #1 #5 46778187f5.