From 9de2d0949de9551f8119319dbda94e494153c97e Mon Sep 17 00:00:00 2001 From: Lucian Petrut Date: Thu, 15 Sep 2022 08:41:56 +0000 Subject: [PATCH] win32_build.sh: build "ceph_test*" At the moment, win32_build.sh builds the "tests" target, which only includes the "unittest_*" tests. We'll update the build script to include "ceph_test_*" targets as well. Note that we can't just build all the targets that were generated by cmake since some of them are unavailable on Windows. When doing the Windows port, we decided to avoid polluting the Cmake files and keep the amount of Windows checks to a minimum. Signed-off-by: Lucian Petrut --- win32_build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/win32_build.sh b/win32_build.sh index 2b84851ce8f..3644074ef44 100755 --- a/win32_build.sh +++ b/win32_build.sh @@ -197,7 +197,8 @@ if [[ -z $SKIP_BUILD ]]; then # TODO: do we actually need the ceph compression libs? ninja_targets+=" compressor ceph_lz4 ceph_snappy ceph_zlib ceph_zstd" if [[ -z $SKIP_TESTS ]]; then - ninja_targets+=" tests ceph_radosacl ceph_scratchtool" + ninja_targets+=" tests ceph_radosacl ceph_scratchtool " + ninja_targets+=`ninja -t targets | grep ceph_test | cut -d ":" -f 1 | grep -v exe` fi ninja -v $ninja_targets 2>&1 | tee "${BUILD_DIR}/build.log"