diff options
author | Dan Kegel <[email protected]> | 2022-01-12 08:36:46 -0800 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-01-12 21:49:27 +0100 |
commit | 21c76c0cb0cedadece76a2626c61c951b8d1681d (patch) | |
tree | 7c69b02d65c0c311063353da0bce1c210f27ea0c /main_test.go | |
parent | fbd72a4b2c82f5274cdf77d1986b3a5d4740a04d (diff) | |
download | tinygo-21c76c0cb0cedadece76a2626c61c951b8d1681d.tar.gz tinygo-21c76c0cb0cedadece76a2626c61c951b8d1681d.zip |
testing: benchmarks: implement -benchtime flag
Diffstat (limited to 'main_test.go')
-rw-r--r-- | main_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main_test.go b/main_test.go index 5cd4fefd6..0f6db9c7e 100644 --- a/main_test.go +++ b/main_test.go @@ -514,7 +514,7 @@ func TestTest(t *testing.T) { defer out.Close() opts := targ.opts - passed, err := Test("github.com/tinygo-org/tinygo/tests/testing/pass", out, out, &opts, false, false, false, "", "", "") + passed, err := Test("github.com/tinygo-org/tinygo/tests/testing/pass", out, out, &opts, false, false, false, "", "", "", "") if err != nil { t.Errorf("test error: %v", err) } @@ -535,7 +535,7 @@ func TestTest(t *testing.T) { defer out.Close() opts := targ.opts - passed, err := Test("github.com/tinygo-org/tinygo/tests/testing/fail", out, out, &opts, false, false, false, "", "", "") + passed, err := Test("github.com/tinygo-org/tinygo/tests/testing/fail", out, out, &opts, false, false, false, "", "", "", "") if err != nil { t.Errorf("test error: %v", err) } @@ -562,7 +562,7 @@ func TestTest(t *testing.T) { var output bytes.Buffer opts := targ.opts - passed, err := Test("github.com/tinygo-org/tinygo/tests/testing/nothing", io.MultiWriter(&output, out), out, &opts, false, false, false, "", "", "") + passed, err := Test("github.com/tinygo-org/tinygo/tests/testing/nothing", io.MultiWriter(&output, out), out, &opts, false, false, false, "", "", "", "") if err != nil { t.Errorf("test error: %v", err) } @@ -586,7 +586,7 @@ func TestTest(t *testing.T) { defer out.Close() opts := targ.opts - passed, err := Test("github.com/tinygo-org/tinygo/tests/testing/builderr", out, out, &opts, false, false, false, "", "", "") + passed, err := Test("github.com/tinygo-org/tinygo/tests/testing/builderr", out, out, &opts, false, false, false, "", "", "", "") if err == nil { t.Error("test did not error") } |