summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2017-04-16 18:12:12 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-04-19 08:26:57 +0200
commit50dfca8d8ae786c5c8802baa1f020e6e7513d7f1 (patch)
tree686fbecb7863f159edb0cbde4b6e8e60c5a801a1
parented7d63d16a3e954841c40253a8a54223f6ae729e (diff)
downloadnextcloud-server-50dfca8d8ae786c5c8802baa1f020e6e7513d7f1.tar.gz
nextcloud-server-50dfca8d8ae786c5c8802baa1f020e6e7513d7f1.zip
Make possible to specify a subset of the acceptance tests to run
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
-rwxr-xr-xbuild/acceptance/run.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/build/acceptance/run.sh b/build/acceptance/run.sh
index 96ed9c8db4f..99087d93af4 100755
--- a/build/acceptance/run.sh
+++ b/build/acceptance/run.sh
@@ -264,9 +264,12 @@ trap cleanUp EXIT
# that.
cd "$(dirname $0)"
+# If no parameter is provided to this script all the acceptance tests are run.
+SCENARIO_TO_RUN=$1
+
prepareBehat
prepareSelenium
prepareDocker
-echo "Running all tests"
-vendor/bin/behat
+echo "Running tests"
+vendor/bin/behat $SCENARIO_TO_RUN