]> 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)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 17 Mar 2025 14:50:17 +0000 (10:50 -0400)
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)

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():