Skip to content

Commit 2dba61f

Browse files
committed
(Commandfile) add --tests option
1 parent cc1e140 commit 2dba61f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Commandfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ command 'build',
3131

3232
command 'test',
3333
description: 'executes "make test"',
34+
parameters: {
35+
tests: { wrap: "TESTS=tests/%s", optional: true },
36+
},
3437
script: <<-eof
35-
cd /data/build; `which gmake || which make` test NO_INTERACTION=1 REPORT_EXIT_STATUS=1
38+
cd /data/build; `which gmake || which make` test %{tests} NO_INTERACTION=1 REPORT_EXIT_STATUS=1
3639
eof
3740

3841
command 'shell',

0 commit comments

Comments
 (0)