Skip to content

Commit 2a676d9

Browse files
committed
Merge tag 'v9.2.2' into update_qemu_v9_2_2
v9.2.2 release
2 parents 4df4d2d + ea35a50 commit 2a676d9

File tree

2,342 files changed

+60655
-80989
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,342 files changed

+60655
-80989
lines changed

Diff for: .gitattributes

+5
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@
22
*.h.inc diff=c
33
*.m diff=objc
44
*.py diff=python
5+
*.rs diff=rust
6+
*.rs.inc diff=rust
7+
Cargo.lock diff=toml merge=binary
8+
9+
*.patch -text -whitespace

Diff for: .gitlab-ci.d/buildtest-template.yml

+26-4
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@
88
key: "$CI_JOB_NAME"
99
when: always
1010
before_script:
11+
- source scripts/ci/gitlab-ci-section
12+
- section_start setup "Pre-script setup"
1113
- JOBS=$(expr $(nproc) + 1)
1214
- cat /packages.txt
15+
- section_end setup
1316
script:
1417
- export CCACHE_BASEDIR="$(pwd)"
1518
- export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
@@ -19,6 +22,7 @@
1922
- mkdir build
2023
- cd build
2124
- ccache --zero-stats
25+
- section_start configure "Running configure"
2226
- ../configure --enable-werror --disable-docs --enable-fdt=system
2327
${TARGETS:+--target-list="$TARGETS"}
2428
$CONFIGURE_ARGS ||
@@ -27,11 +31,16 @@
2731
then
2832
pyvenv/bin/meson configure . -Dbackend_max_links="$LD_JOBS" ;
2933
fi || exit 1;
34+
- section_end configure
35+
- section_start build "Building QEMU"
3036
- $MAKE -j"$JOBS"
37+
- section_end build
38+
- section_start test "Running tests"
3139
- if test -n "$MAKE_CHECK_ARGS";
3240
then
3341
$MAKE -j"$JOBS" $MAKE_CHECK_ARGS ;
3442
fi
43+
- section_end test
3544
- ccache --show-stats
3645

3746
# We jump some hoops in common_test_job_template to avoid
@@ -54,12 +63,21 @@
5463
stage: test
5564
image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:$QEMU_CI_CONTAINER_TAG
5665
script:
66+
- source scripts/ci/gitlab-ci-section
67+
- section_start buildenv "Setting up to run tests"
5768
- scripts/git-submodule.sh update roms/SLOF
58-
- meson subprojects download $(cd build/subprojects && echo *)
69+
- build/pyvenv/bin/meson subprojects download $(cd build/subprojects && echo *)
5970
- cd build
6071
- find . -type f -exec touch {} +
6172
# Avoid recompiling by hiding ninja with NINJA=":"
73+
# We also have to pre-cache the functional tests manually in this case
74+
- if [ "x${QEMU_TEST_CACHE_DIR}" != "x" ]; then
75+
$MAKE precache-functional ;
76+
fi
77+
- section_end buildenv
78+
- section_start test "Running tests"
6279
- $MAKE NINJA=":" $MAKE_CHECK_ARGS
80+
- section_end test
6381

6482
.native_test_job_template:
6583
extends: .common_test_job_template
@@ -72,12 +90,13 @@
7290
reports:
7391
junit: build/meson-logs/testlog.junit.xml
7492

75-
.avocado_test_job_template:
93+
.functional_test_job_template:
7694
extends: .common_test_job_template
7795
cache:
7896
key: "${CI_JOB_NAME}-cache"
7997
paths:
8098
- ${CI_PROJECT_DIR}/avocado-cache
99+
- ${CI_PROJECT_DIR}/functional-cache
81100
policy: pull-push
82101
artifacts:
83102
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
@@ -86,6 +105,7 @@
86105
paths:
87106
- build/tests/results/latest/results.xml
88107
- build/tests/results/latest/test-results
108+
- build/tests/functional/*/*/*.log
89109
reports:
90110
junit: build/tests/results/latest/results.xml
91111
before_script:
@@ -96,11 +116,13 @@
96116
- echo -e '[job.output.testlogs]\nstatuses = ["FAIL", "INTERRUPT"]'
97117
>> ~/.config/avocado/avocado.conf
98118
- if [ -d ${CI_PROJECT_DIR}/avocado-cache ]; then
99-
du -chs ${CI_PROJECT_DIR}/avocado-cache ;
119+
du -chs ${CI_PROJECT_DIR}/*-cache ;
100120
fi
101121
- export AVOCADO_ALLOW_UNTRUSTED_CODE=1
122+
- export QEMU_TEST_ALLOW_UNTRUSTED_CODE=1
123+
- export QEMU_TEST_CACHE_DIR=${CI_PROJECT_DIR}/functional-cache
102124
after_script:
103125
- cd build
104-
- du -chs ${CI_PROJECT_DIR}/avocado-cache
126+
- du -chs ${CI_PROJECT_DIR}/*-cache
105127
variables:
106128
QEMU_JOB_AVOCADO: 1

0 commit comments

Comments
 (0)