Skip to content

Commit 46b526d

Browse files
author
Andy C
committed
[regtest/aports] Disable yash tests
Published new report 2025-08-26-ifs
1 parent 20bdc73 commit 46b526d

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

regtest/aports-guest.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,5 +135,4 @@ build-packages() {
135135
done | build-package-list "$config"
136136
}
137137

138-
139138
"$@"

regtest/aports-html.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ published-html() {
190190
191191
- [2025-08-07-fix](2025-08-07-fix.wwz/_tmp/aports-report/2025-08-07-fix/diff_merged.html)
192192
- [2025-08-14-fix](2025-08-14-fix.wwz/_tmp/aports-report/2025-08-14-fix/diff_merged.html)
193+
- [2025-08-26-ifs](2025-08-26-ifs.wwz/_tmp/aports-report/2025-08-26-ifs/diff_merged.html)
193194
194195
EOF
195196

regtest/aports-setup.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,25 @@ copy-aports() {
160160
change-perms $dest
161161
}
162162

163+
_patch-yash-to-disable-tests() {
164+
### disable tests that use job control, causing SIGTTOU bug
165+
166+
local apkbuild=$CHROOT_HOME_DIR/aports/main/yash/APKBUILD
167+
168+
# make it idempotent
169+
if ! grep 'FOR OILS' "$apkbuild"; then
170+
echo '
171+
check() {
172+
echo "=== yash tests DISABLED FOR OILS ==="
173+
}
174+
' >> $apkbuild
175+
fi
176+
}
177+
178+
patch-yash-to-disable-tests() {
179+
sudo $0 _patch-yash-to-disable-tests
180+
}
181+
163182
code-manifest() {
164183
# TODO: need per-file tree shaking of build/py.sh
165184
local -a build_py=(
@@ -221,6 +240,9 @@ test-time-tsv() {
221240

222241
oils-in-chroot() {
223242
copy-aports
243+
244+
patch-yash-to-disable-tests
245+
224246
copy-code
225247
test-time-tsv
226248

0 commit comments

Comments
 (0)