aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorDan Kegel <[email protected]>2022-06-04 10:47:51 -0700
committerRon Evans <[email protected]>2022-06-11 12:11:08 +0200
commitada11090a2d79fbbf2d5da3f1ab84be688b51e00 (patch)
treedafb68f5c2073fdbbc22c43b6076c14278283ed4 /tests
parenta07287d3c670b516685c58bb7e7be159253b5372 (diff)
downloadtinygo-ada11090a2d79fbbf2d5da3f1ab84be688b51e00.tar.gz
tinygo-ada11090a2d79fbbf2d5da3f1ab84be688b51e00.zip
smoketest: add regression test for 'tinygo test ./...', see #2892
tests/testing/recurse has two directories with tests; "make smoketest" now does "tinygo test ./..." in that directory and fails if it does not run both directories' tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/testing/recurse/subdir/subdir_test.go6
-rw-r--r--tests/testing/recurse/top_test.go6
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/testing/recurse/subdir/subdir_test.go b/tests/testing/recurse/subdir/subdir_test.go
new file mode 100644
index 000000000..68599804b
--- /dev/null
+++ b/tests/testing/recurse/subdir/subdir_test.go
@@ -0,0 +1,6 @@
+package subdir
+
+import "testing"
+
+func TestSubdir(t *testing.T) {
+}
diff --git a/tests/testing/recurse/top_test.go b/tests/testing/recurse/top_test.go
new file mode 100644
index 000000000..5c929dcf0
--- /dev/null
+++ b/tests/testing/recurse/top_test.go
@@ -0,0 +1,6 @@
+package top
+
+import "testing"
+
+func TestTop(t *testing.T) {
+}