From 2499bf58b0d59a5bf2531343970825b168f935dd Mon Sep 17 00:00:00 2001 From: Manuel Rego Casasnovas Date: Tue, 9 Aug 2011 08:49:44 +0200 Subject: [PATCH] Add script to start Sahi from command line FEA: ItEr75S18DataTypesTests --- scripts/functional-tests/README | 11 ++++++++--- scripts/functional-tests/start_sahi.sh | 6 ++++++ 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100755 scripts/functional-tests/start_sahi.sh diff --git a/scripts/functional-tests/README b/scripts/functional-tests/README index d2da03133..099eab506 100644 --- a/scripts/functional-tests/README +++ b/scripts/functional-tests/README @@ -61,12 +61,17 @@ Once installed the program you have two kinds of run: * Console: - * To run sahi scripts, you need to start sahi and after this you must be in - ``scripts/functional-tests/``, there you can run them like:: + * To run sahi scripts, you need to start Sahi:: + + $ start_sahi.sh + + * And inside ``scripts/functional-tests/`` you can run them with:: $ testrunner.sh yourtest.sah - * NOTE: If you modify sahi default installation path (``~/sahi/``), you must +.. WARNING:: + + If you modify sahi default installation path (``~/sahi/``), you must change the path in ``scripts/functional-tests/sahi-common-env.sh`` It's possible run more than one script at the same time using a file.suite you diff --git a/scripts/functional-tests/start_sahi.sh b/scripts/functional-tests/start_sahi.sh new file mode 100755 index 000000000..f405ba220 --- /dev/null +++ b/scripts/functional-tests/start_sahi.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +. ./sahi-common-env.sh + +export SAHI_USERDATA_DIR=$SAHI_HOME/userdata +. $SAHI_HOME/bin/dashboard.sh