mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 18:41:52 +00:00
(Commandfile) add --tests option
This commit is contained in:
parent
cc1e14034b
commit
2dba61f036
@ -31,8 +31,11 @@ command 'build',
|
|||||||
|
|
||||||
command 'test',
|
command 'test',
|
||||||
description: 'executes "make test"',
|
description: 'executes "make test"',
|
||||||
|
parameters: {
|
||||||
|
tests: { wrap: "TESTS=tests/%s", optional: true },
|
||||||
|
},
|
||||||
script: <<-eof
|
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
|
eof
|
||||||
|
|
||||||
command 'shell',
|
command 'shell',
|
||||||
|
Loading…
Reference in New Issue
Block a user