#!/bin/bash ########################################################################### # # Copyright (c) 2019-2019 Diality Inc. - All Rights Reserved. # # THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN # WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. # # @file run_server.sh # # @date 21-Oct-2020 # @author Peter Lucia # # @brief Runs the squishqt server. Uses virtual window manager so # the mouse and keyboard won't affect the running tests. # Assumes the following packages have been installed: # sudo apt install xvfb # sudo apt install xfwm4 # ############################################################################ DISPLAY_NUM=8 /opt/squishqt/bin/squishserver --config addAppPath ~/Desktop ./startxvfb.sh $DISPLAY_NUM DISPLAY=:$DISPLAY_NUM /opt/squishqt/bin/squishserver ./stopxvfb.sh $DISPLAY_NUM echo "Done."