14
0
forked from pool/python-wmctrl

Accepting request 1230105 from openSUSE:Factory:RISCV

- Avoid race condition in test script

OBS-URL: https://build.opensuse.org/request/show/1230105
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wmctrl?expand=0&rev=10
This commit is contained in:
2024-12-11 14:13:22 +00:00
committed by Git OBS Bridge
parent 0452becd41
commit 06d58256a0
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 11 12:48:56 UTC 2024 - Andreas Schwab <schwab@suse.de>
- Avoid race condition in test script
-------------------------------------------------------------------
Mon Dec 9 11:08:46 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -64,7 +64,7 @@ sed -i 's/\(py$\|py\.test\)/pytest/g' test/test_wmctrl.py
cat > /tmp/test_script.sh <<EOF
#!/bin/sh
openbox &
sleep 5
sleep 10
wmctrl -l -G -p -x
$python -m pytest -rs -k 'not (test_activate or test_properties or test_Desktop_active)' test/test_wmctrl.py
EOF