]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
win32*.sh: use the right target when building the tests 40169/head
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 17 Mar 2021 07:01:15 +0000 (07:01 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 17 Mar 2021 07:03:19 +0000 (07:03 +0000)
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 <lpetrut@cloudbasesolutions.com>
win32_build.sh

index 3a11b942decf86c7f68a2784ef69b64c80bd8da0..34e87f54348e85ff5e999f3b1606835bb034c523 100755 (executable)
@@ -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"