Skip to content

Commit 0620ce2

Browse files
committed
unit tests qemu
1 parent 1ff6532 commit 0620ce2

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

projects/qemu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ RUN git clone --depth 1 https://gitlab.gnome.org/GNOME/glib.git --branch=$glib_t
2828

2929
RUN git clone --depth 1 https://git.qemu.org/git/qemu.git qemu
3030
WORKDIR qemu
31-
COPY build.sh $SRC/
31+
COPY run_tests.sh build.sh $SRC/

projects/qemu/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#!/bin/sh -e # Copyright 2020 Google Inc.
1+
#!/bin/sh -e
2+
# Copyright 2020 Google Inc.
23
#
34
# Licensed under the Apache License, Version 2.0 (the "License");
45
# you may not use this file except in compliance with the License.

projects/qemu/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+
cd $SRC/qemu/build-oss-fuzz
18+
make -j"$(nproc)" check-unit

0 commit comments

Comments
 (0)