[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#74786: [PATCH] Add custom args to test compile step
From: |
O'Brien, Will |
Subject: |
bug#74786: [PATCH] Add custom args to test compile step |
Date: |
Tue, 17 Dec 2024 08:32:50 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Mon, Dec 16 2024 at 18:41, "J.P." <jp@neverwas.me> wrote:
>> "Compile the tests matching REGEXP.
>> This function respects the `go-ts-mode-build-tags' variable for
>> specifying build tags."
>> - (compile (format "go test -v %s -run '%s'"
>> + (compile (format "go test %s -v %s -run '%s'"
>> + (string-join go-ts-mode-test-args)
> ^
>
> Should this specify a separator argument?
It should indeed!
> Or, since
>
> $ go help testflag
>
> lists a few options that take a regexp argument, maybe something like
>
> (mapconcat #'shell-quote-argument go-ts-mode-test-args " ")
Ah, nice! Yeah I will update.
Thank you!
bug#74786: [PATCH] Add custom args to test compile step, O'Brien, Will, 2024/12/11