diff options
author | Damian Gryski <[email protected]> | 2023-03-30 18:24:18 -0700 |
---|---|---|
committer | Ron Evans <[email protected]> | 2023-03-31 09:07:13 +0200 |
commit | a2f95d6b87418cc4a75892a43a6a405674aab876 (patch) | |
tree | 42cb0c8c2ee4f34a911692a897d80e312f9674e6 /compileopts | |
parent | 698b1f19c6167800af0683a625ce891f3037c867 (diff) | |
download | tinygo-a2f95d6b87418cc4a75892a43a6a405674aab876.tar.gz tinygo-a2f95d6b87418cc4a75892a43a6a405674aab876.zip |
main: stuff test runner options into their own struct
Fixes #2406
Diffstat (limited to 'compileopts')
-rw-r--r-- | compileopts/config.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/compileopts/config.go b/compileopts/config.go index bfb02f1b7..86f35fa99 100644 --- a/compileopts/config.go +++ b/compileopts/config.go @@ -541,7 +541,14 @@ func (c *Config) Emulator(format, binary string) ([]string, error) { type TestConfig struct { CompileTestBinary bool - // TODO: Filter the test functions to run, include verbose flag, etc + CompileOnly bool + Verbose bool + Short bool + RunRegexp string + Count int + BenchRegexp string + BenchTime string + BenchMem bool } // filterTags removes predefined build tags for a target if a conflicting option |