From: Lucian Petrut Date: Wed, 17 Mar 2021 07:01:15 +0000 (+0000) Subject: win32*.sh: use the right target when building the tests X-Git-Tag: v17.1.0~2589^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F40169%2Fhead;p=ceph.git win32*.sh: use the right target when building the tests We switched from make to ninja but we're using the wrong target when building the tests. "ninja test" tries to actually run the tests. We'll have to use "ninja tests" when targeting Windows. Signed-off-by: Lucian Petrut --- diff --git a/win32_build.sh b/win32_build.sh index 3a11b942decf..34e87f54348e 100755 --- a/win32_build.sh +++ b/win32_build.sh @@ -185,7 +185,7 @@ 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+=" test ceph_radosacl ceph_scratchtool" + ninja_targets+=" tests ceph_radosacl ceph_scratchtool" fi ninja -v $ninja_targets 2>&1 | tee "${BUILD_DIR}/build.log"