From 2dba61f03612e8c1f40f2be2e97cccc25f01b995 Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Tue, 14 Mar 2017 07:23:18 +0100 Subject: [PATCH] (Commandfile) add --tests option --- Commandfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Commandfile b/Commandfile index 63f8290..9000767 100644 --- a/Commandfile +++ b/Commandfile @@ -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',