[TOOLING][TESTS] Allow specifying any phpunit flag when invoking make

Examples:
  make test -- --filter 'method'
  make test -- directory
This commit is contained in:
Hugo Sales 2022-03-10 01:23:36 +00:00
부모 0ce5eba355
커밋 8433771465
Signed by untrusted user: someonewithpc
GPG 키 ID: 7D0C7EAFC9D835A0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -10,5 +10,5 @@ if [ "$#" -eq 0 ] || [ -z "$*" ]; then
vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report
else
echo "Running with filter"
vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report --filter "$*"
vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report $*
fi