summaryrefslogtreecommitdiffstats
path: root/run_test_suite
diff options
context:
space:
mode:
Diffstat (limited to 'run_test_suite')
-rwxr-xr-xrun_test_suite6
1 files changed, 5 insertions, 1 deletions
diff --git a/run_test_suite b/run_test_suite
index 8311e98..3ccc49b 100755
--- a/run_test_suite
+++ b/run_test_suite
@@ -163,7 +163,11 @@ start_vnc_server() {
start_vnc_viewer() {
check_dependencies xtightvncviewer
- xtightvncviewer -viewonly localhost:${VNC_SERVER_PORT} 1>/dev/null 2>&1 &
+ VNC_VIEWER="/usr/bin/xtigervncviewer"
+ if [ ! -x "${VNC_VIEWER}" ]; then
+ VNC_VIEWER="/usr/bin/xtightvncviewer"
+ fi
+ "${VNC_VIEWER}" -nojpeg -viewonly localhost:${VNC_SERVER_PORT} 1>/dev/null 2>&1 &
}
capture_session() {