Skip to content

Commit 41711ac

Browse files
committed
tests c-blosc
1 parent 1ff6532 commit 41711ac

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

projects/c-blosc/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FROM gcr.io/oss-fuzz-base/base-builder
1818
RUN apt-get update && apt-get install -y cmake make
1919
RUN git clone --depth 1 https://github.com/Blosc/c-blosc.git c-blosc
2020
WORKDIR c-blosc
21-
COPY build.sh $SRC/
21+
COPY run_tests.sh build.sh $SRC/

projects/c-blosc/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
# Build project
1919
cmake . -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
20-
-DBUILD_FUZZERS=ON -DBUILD_TESTS=OFF -DBUILD_BENCHMARKS=OFF \
21-
-DBUILD_STATIC=ON -DBUILD_SHARED=OFF
20+
-DBUILD_FUZZERS=ON -DBUILD_TESTS=ON -DBUILD_BENCHMARKS=OFF \
21+
-DBUILD_STATIC=ON -DBUILD_SHARED=ON
2222
make clean
2323
make -j$(nproc)
2424

projects/c-blosc/run_tests.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash -eu
2+
# Copyright 2025 Google LLC.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
################################################################################
16+
17+
ctest --output-on-failure -E "test_api|test_forksafe"

0 commit comments

Comments
 (0)