Skip to content

Commit

Permalink
PHP: adjust test bootstrap files
Browse files Browse the repository at this point in the history
  • Loading branch information
generalmimon committed Feb 26, 2022
1 parent f5f4189 commit 719447a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ LUA_RUNTIME_DIR=../runtime/lua
NIM_RUNTIME_DIR=../runtime/nim
NIM_TESTIFY_DIR=spec/nim/testify
PERL_RUNTIME_DIR=../runtime/perl/lib
PHP_RUNTIME_DIR=../runtime/php
PYTHON_RUNTIME_DIR=../runtime/python
RUBY_RUNTIME_DIR=../runtime/ruby/lib

Expand Down
3 changes: 2 additions & 1 deletion run-php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

mkdir -p "$TEST_OUT_DIR/php"

phpunit spec/php \
export PHP_RUNTIME_DIR
../runtime/php/vendor/bin/phpunit spec/php \
--bootstrap spec/php/_bootstrap.php \
--log-junit "$TEST_OUT_DIR/php/results.xml" \
--dont-report-useless-tests
2 changes: 1 addition & 1 deletion spec/php/_bootstrap.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 719447a

Please sign in to comment.