From b0767473504c0c313150ad47b531967879314fbf Mon Sep 17 00:00:00 2001
From: Thomas Munro <thomas.munro@gmail.com>
Date: Sun, 14 Dec 2025 12:30:24 +1300
Subject: [PATCH 1/3] ci: Check src/test in CompilerWarnings task.

Since make world-bin doesn't visit src/test, CI was not checking for
compiler warnings in test modules.

Backpatch-through: 15, where CI began
Discussion: https://postgr.es/m/1086088.1765593851%40sss.pgh.pa.us
---
 .cirrus.tasks.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.cirrus.tasks.yml b/.cirrus.tasks.yml
index 038d043d00e..29c7a6c0a07 100644
--- a/.cirrus.tasks.yml
+++ b/.cirrus.tasks.yml
@@ -944,6 +944,7 @@ task:
         CC="ccache gcc" CXX="ccache g++" CLANG="ccache clang"
       make -s -j${BUILD_JOBS} clean
       time make -s -j${BUILD_JOBS} world-bin
+      time make -C src/test -s -j${BUILD_JOBS}
 
   # gcc, cassert on, dtrace off
   always:
@@ -955,6 +956,7 @@ task:
         CC="ccache gcc" CXX="ccache g++" CLANG="ccache clang"
       make -s -j${BUILD_JOBS} clean
       time make -s -j${BUILD_JOBS} world-bin
+      time make -C src/test -s -j${BUILD_JOBS}
 
   # clang, cassert off, dtrace off
   always:
@@ -965,6 +967,7 @@ task:
         CC="ccache clang" CXX="ccache clang++" CLANG="ccache clang"
       make -s -j${BUILD_JOBS} clean
       time make -s -j${BUILD_JOBS} world-bin
+      time make -C src/test -s -j${BUILD_JOBS}
 
   # clang, cassert on, dtrace on
   always:
@@ -977,6 +980,7 @@ task:
         CC="ccache clang" CXX="ccache clang++" CLANG="ccache clang"
       make -s -j${BUILD_JOBS} clean
       time make -s -j${BUILD_JOBS} world-bin
+      time make -C src/test -s -j${BUILD_JOBS}
 
   # cross-compile to windows
   always:
@@ -989,6 +993,7 @@ task:
         CXX="ccache x86_64-w64-mingw32ucrt-g++"
       make -s -j${BUILD_JOBS} clean
       time make -s -j${BUILD_JOBS} world-bin
+      time make -C src/test -s -j${BUILD_JOBS}
 
   ###
   # Verify docs can be built
-- 
2.51.2

