File: gui

package info (click to toggle)
silx 2.2.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 31,652 kB
  • sloc: python: 119,829; ansic: 5,062; lisp: 4,454; cpp: 883; sh: 286; makefile: 90; xml: 46
file content (20 lines) | stat: -rwxr-xr-x 330 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh -ex

# display glxinfo

glxinfo

# Check that the GUI can be started

timeout --preserve-status 5s silx view
ec=$?

# do not fail if the exit code is 143, it seems that there is an
# issue with mesa 16/04/2024.

if [ $ec -eq 143 ]; then
    echo "trapped status 143 and return success"
    exit 0;
else
    exit $ec;
fi