aboutsummaryrefslogtreecommitdiffhomepage
path: root/corpus_test.go
diff options
context:
space:
mode:
authorDamian Gryski <[email protected]>2023-03-30 18:24:18 -0700
committerRon Evans <[email protected]>2023-03-31 09:07:13 +0200
commita2f95d6b87418cc4a75892a43a6a405674aab876 (patch)
tree42cb0c8c2ee4f34a911692a897d80e312f9674e6 /corpus_test.go
parent698b1f19c6167800af0683a625ce891f3037c867 (diff)
downloadtinygo-a2f95d6b87418cc4a75892a43a6a405674aab876.tar.gz
tinygo-a2f95d6b87418cc4a75892a43a6a405674aab876.zip
main: stuff test runner options into their own struct
Fixes #2406
Diffstat (limited to 'corpus_test.go')
-rw-r--r--corpus_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/corpus_test.go b/corpus_test.go
index ceb631693..1b27d6f6b 100644
--- a/corpus_test.go
+++ b/corpus_test.go
@@ -115,8 +115,9 @@ func TestCorpus(t *testing.T) {
var tags buildutil.TagsFlag
tags.Set(repo.Tags)
opts.Tags = []string(tags)
+ opts.TestConfig.Verbose = testing.Verbose()
- passed, err := Test(path, out, out, &opts, false, testing.Verbose(), false, "", "", "", false, "")
+ passed, err := Test(path, out, out, &opts, "")
if err != nil {
t.Errorf("test error: %v", err)
}