aboutsummaryrefslogtreecommitdiffhomepage
path: root/main_test.go
diff options
context:
space:
mode:
authorDan Kegel <[email protected]>2021-08-16 08:45:28 -0700
committerRon Evans <[email protected]>2022-01-07 10:39:30 +0100
commitee4e42ba1fea45a7a1516c7a9d7f93d32a514d15 (patch)
tree812a31f02fdb808c677f8394e264adc1b50c7855 /main_test.go
parentc6678525a92d9a566a7cb6066d4d65602ab71bf6 (diff)
downloadtinygo-ee4e42ba1fea45a7a1516c7a9d7f93d32a514d15.tar.gz
tinygo-ee4e42ba1fea45a7a1516c7a9d7f93d32a514d15.zip
src/testing: support -bench option to run benchmarks matching the given pattern.
Diffstat (limited to 'main_test.go')
-rw-r--r--main_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/main_test.go b/main_test.go
index bb1e26f31..e8dbf7d1a 100644
--- a/main_test.go
+++ b/main_test.go
@@ -516,7 +516,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)
}
@@ -537,7 +537,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)
}
@@ -564,7 +564,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)
}
@@ -588,7 +588,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")
}