]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
script/build-with-container: fix incorrect build invocation for tests
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 13 Mar 2025 11:48:28 +0000 (07:48 -0400)
committerKamoltat Sirivadhna <ksirivad@redhat.com>
Fri, 10 Oct 2025 18:27:42 +0000 (18:27 +0000)
The `tests` build target was set to build the "normal" target but it
needs to build the tests.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 6b635d3ec080c9514442e2617d1ab868050a39d9)
(cherry picked from commit e15a5f873d7b7f42e7c6ce29838082b39fd12a64)

src/script/build-with-container.py

index 82f892924cb521bcb9255aee760c3f246f5def6a..dfbf967b5f8c623a76e671b6ca5f742b8e9342cd 100755 (executable)
@@ -569,7 +569,7 @@ def bc_run_tests(ctx):
         [
             "bash",
             "-c",
-            f"cd {ctx.cli.homedir} && source ./run-make-check.sh && build && run",
+            f"cd {ctx.cli.homedir} && source ./run-make-check.sh && build tests && run",
         ],
     )
     with ctx.user_command():