Skip to content
This repository has been archived by the owner on Jul 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #42 from brunoric/fix-run-suite
Browse files Browse the repository at this point in the history
Fix run suite
  • Loading branch information
jpjoao committed Aug 10, 2017
2 parents 312a568 + 126024c commit 272b5c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/phpqa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function parseRunArgs()
_RUN_FILE_PATH=$1
_RUN_VERSION=$2;

if [ -z "${_RUN_FILE_PATH}" ] || ([ ! -f "${_RUN_FILE_PATH}" ] && [ ! -d "${_RUN_FILE_PATH}" ]); then
if [ -z "${_RUN_FILE_PATH}" ] || ([ ! -f "${_RUN_FILE_PATH}" ] && [ ! -d "${_RUN_FILE_PATH}" ] && [ ! "${_RUN_FILE_PATH}" = "suite" ]); then
displayHelp "You need to provide a phpt or a directory with phpt files to be tested or pass \`suite\` as first parameter to run the full test suite.";
fi

Expand Down

0 comments on commit 272b5c1

Please sign in to comment.