File: run_gui_tests

package info (click to toggle)
gnome-shell-extension-system-monitor 40-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 884 kB
  • sloc: javascript: 2,777; xml: 462; makefile: 148; sh: 108; python: 107
file content (22 lines) | stat: -rwxr-xr-x 495 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
# Helper script for our tests.

. /home/default/.bashrc

# Ensure we're in our shared directory.
SCRIPT_DIR="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
cd $SCRIPT_DIR

# Give gnome-session time to startup.
sleep 30

# Give the setting time to take effect.
gsettings set org.gnome.desktop.interface toolkit-accessibility true
sleep 30

# Run tests.
python3 test_gui.py

# Kill the container.
# Disable this if you want the container to remain up for inspection.
sudo shutdown now