Skip to content

Commit 834c32c

Browse files
authored
jansson: add run_tests.sh (#13596)
`infra/experimental/chronos/check_tests.sh jansson c` ``` ... PASS: run-suites ============================================================================ Testsuite summary for jansson 2.14.1 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/src/jansson/test' make[3]: Leaving directory '/src/jansson/test' make[2]: Leaving directory '/src/jansson/test' make[1]: Leaving directory '/src/jansson/test' make[1]: Entering directory '/src/jansson' make check-TESTS make[2]: Entering directory '/src/jansson' make[3]: Entering directory '/src/jansson' SKIP: scripts/clang-format-check ============================================================================ Testsuite summary for jansson 2.14.1 ============================================================================ # TOTAL: 1 # PASS: 0 # SKIP: 1 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory '/src/jansson' make[2]: Leaving directory '/src/jansson' make[1]: Leaving directory '/src/jansson' ``` Signed-off-by: Adam Korczynski <adam@adalogics.com>
1 parent edc5505 commit 834c32c

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

projects/jansson/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ FROM gcr.io/oss-fuzz-base/base-builder
1919
RUN git clone --depth 1 https://github.com/akheron/jansson.git /src/jansson
2020

2121
WORKDIR $SRC/jansson
22-
COPY build.sh $SRC/
22+
COPY build.sh run_tests.sh $SRC/

projects/jansson/run_tests.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
18+
make check

0 commit comments

Comments
 (0)