Skip to content

Commit 3306ffb

Browse files
authored
libcue: add run_tests.sh (google#13682)
`run_tests.sh` is used as part of Chronos with cached builds: https://github.com/google/oss-fuzz/tree/master/infra/experimental/chronos#check-tests `infra/experimental/chronos/check_tests.sh libcue c` ``` Running tests... Test project /work Start 1: standard_cue_test 1/6 Test #1: standard_cue_test ................ Passed 0.01 sec Start 2: single_file_idx_00_test 2/6 Test #2: single_file_idx_00_test .......... Passed 0.01 sec Start 3: multiple_files_test 3/6 Test #3: multiple_files_test .............. Passed 0.01 sec Start 4: noncompliant_test 4/6 Test #4: noncompliant_test ................ Passed 0.01 sec Start 5: issue10_test 5/6 Test #5: issue10_test ..................... Passed 0.01 sec Start 6: 99_tracks_test 6/6 Test #6: 99_tracks_test ................... Passed 0.01 sec 100% tests passed, 0 tests failed out of 6 Total Test time (real) = 0.06 sec -------------------------------------------------------- Total time taken to replay tests: 1 ``` Signed-off-by: Adam Korczynski <adam@adalogics.com>
1 parent 23260fd commit 3306ffb

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

projects/libcue/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ RUN apt-get update && apt-get install -y make autoconf automake libtool bison fl
2020
RUN git clone --depth 1 https://github.com/lipnitsk/libcue.git libcue
2121

2222
WORKDIR libcue
23-
COPY build.sh $SRC/
23+
COPY run_tests.sh build.sh $SRC/

projects/libcue/run_tests.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash -eux
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+
cd $WORK
18+
make test

0 commit comments

Comments
 (0)