To separate a single test, one can run

$ /usr/share/snek/snek-arm test/pass-args.py
test/pass-args.py:20 Syntax error at "def".
...
$ /usr/share/snek/snek-arm test/pass-precedence.py
test/pass-precedence.py:72 Syntax error at "".

/usr/share/snek/snek-arm is only a shell script wrapping a qemu call

---

That turns it into

$ qemu-system-arm -chardev stdio,mux=on,id=stdio0 -serial none -monitor none 
-semihosting-config "enable=on,chardev=stdio0,arg=snek-arm 
snek-1.12/test/pass-precedence.py" -machine mps2-an385,accel=tcg -cpu cortex-m3 
-kernel /usr/share/snek/snek-qemu-arm-1.12.elf -nographic -bios none
snek-1.12/test/pass-precedence.py:72 Syntax error at "".


Switching between qemu 10.0 and 10.1 triggers this issue or gets us back to a 
working execution.
- v=1:10.1.0~rc2+ds-1ubuntu1; sudo apt install qemu-system-misc=$v 
qemu-system-common=$v qemu-system-arm=$v qemu-system-riscv=$v 
--no-install-recommends
- v=1:10.0.2+ds-1ubuntu2; sudo apt install qemu-system-misc=$v 
qemu-system-common=$v qemu-system-arm=$v qemu-system-riscv=$v 
--no-install-recommends

Now what is in this py file - nothing too special: 
https://git.launchpad.net/ubuntu/+source/snek/tree/test/pass-precedence.py
An example of the Snek programming language to test.
Line 72 is just after end of the file.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2121124

Title:
  test on armhf breaks with qemu 10.1 in questing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2121124/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to