Skip to content

Commit bb13be6

Browse files
authored
Add unit_vfs to tests for windows/osx/linux (#4748)
Add unit_vfs to CI tests for windows/osx/linux. --- TYPE: FEATURE DESC: Add unit_vfs to tests for windows/osx/linux
1 parent 64e6912 commit bb13be6

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.github/workflows/build-windows.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ jobs:
240240
241241
# CMake exits with non-0 status if there are any warnings during the build, so
242242
cmake --build $env:BUILD_BUILDDIRECTORY\tiledb -j --target tiledb_unit --config $CMakeBuildType -- /verbosity:minimal
243+
cmake --build $env:BUILD_BUILDDIRECTORY\tiledb -j --target unit_vfs --config $CMakeBuildType -- /verbosity:minimal
243244
cmake --build $env:BUILD_BUILDDIRECTORY\tiledb -j --target tiledb_regression --config $CMakeBuildType -- /verbosity:minimal
244245
cmake --build $env:BUILD_BUILDDIRECTORY\tiledb -j --target all_link_complete --config $CMakeBuildType -- /verbosity:minimal
245246
@@ -279,6 +280,14 @@ jobs:
279280
Write-Host "Tests failed. tiledb_unit exit status: " $LastExitCocde
280281
$host.SetShouldExit($LastExitCode)
281282
}
283+
284+
$cmds = "$env:BUILD_BUILDDIRECTORY\tiledb\tiledb\sm\filesystem\test\$CMakeBuildType\unit_vfs -d=yes"
285+
Write-Host "cmds: '$cmds'"
286+
Invoke-Expression $cmds
287+
if ($LastExitCode -ne 0) {
288+
Write-Host "Tests failed. tiledb_vfs exit status: " $LastExitCocde
289+
$host.SetShouldExit($LastExitCode)
290+
}
282291
283292
$cmds = "$env:BUILD_BUILDDIRECTORY\tiledb\test\ci\$CMakeBuildType\test_assert.exe -d=yes"
284293
Invoke-Expression $cmds

.github/workflows/ci-linux_mac.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ jobs:
191191
./tiledb/test/regression/tiledb_regression -d yes
192192
./tiledb/test/ci/test_assert -d yes
193193
./tiledb/test/tiledb_unit -d yes | awk '/1: ::set-output/{sub(/.*1: /, ""); print; next} 1'
194+
./tiledb/tiledb/sm/filesystem/test/unit_vfs -d yes | awk '/1: ::set-output/{sub(/.*1: /, ""); print; next} 1'
194195
195196
###################################################
196197
# Stop helper processes, if applicable

scripts/ci/build_libtiledb.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@ make -C tiledb install
3838
ls -la
3939

4040
make -j4 -C tiledb tiledb_unit
41+
make -j4 -C tiledb unit_vfs
4142
make -j4 -C tiledb tiledb_regression
4243
make -j4 -C tiledb all_link_complete

0 commit comments

Comments
 (0)