File: screenshot

package info (click to toggle)
balsa 2.6.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 23,576 kB
  • sloc: ansic: 99,871; xml: 4,934; makefile: 769; sh: 185; awk: 60; python: 34
file content (14 lines) | stat: -rwxr-xr-x 418 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash -e

. ./debian/tests/functions

balsa_setup

printf 'working directory: %s\n' "$workdir"

# sleep is long because riscv64 is slooooow
xvfb-run bash -c 'DBUS_SESSION_BUS_ADDRESS="" NO_AT_BRIDGE=1 balsa --check-mail & sleep 20 ; xwd -name Balsa | gm convert - $workdir/current.png; killall balsa; wait %1; true'

gm compare -metric mse "$workdir/current.png" debian/tests/orig-screenshot.png

balsa_teardown