Skip to content

Commit

Permalink
win32_build.sh: build "ceph_test*"
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
petrutlucian94 committed Feb 17, 2023
1 parent 0e124ed commit 9de2d09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion win32_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9de2d09

Please sign in to comment.