Commit 29d3d9e0 authored by Ola Bini's avatar Ola Bini

Small helper for running the tests.

Contribution from Fan Jiang, Iván Pazmiño and Ola Bini.
parent 9a60905e
#!/usr/bin/env bash
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
Xvfb :99 >/dev/null 2>&1 &
export DISPLAY=:99
export PL_PATH=`which perl`
export TB_PATH=${TB_PATH:-`which thunderbird`}
if [ "$#" -eq 0 ]; then
util/run-tests.py
else
util/run-tests.py $@
fi
RESULT=$?
killall Xvfb
exit $RESULT
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment