0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 07:01:52 +00:00

(Commandfile) add --tests option

This commit is contained in:
Stefan Siegl 2017-03-14 07:23:18 +01:00
parent cc1e14034b
commit 2dba61f036

View File

@ -31,8 +31,11 @@ command 'build',
command 'test',
description: 'executes "make test"',
parameters: {
tests: { wrap: "TESTS=tests/%s", optional: true },
},
script: <<-eof
cd /data/build; `which gmake || which make` test NO_INTERACTION=1 REPORT_EXIT_STATUS=1
cd /data/build; `which gmake || which make` test %{tests} NO_INTERACTION=1 REPORT_EXIT_STATUS=1
eof
command 'shell',