tinygo/src/testing
Ayke van Laethem 33489d6344 testing: implement t.Setenv
This method has been added in Go 1.17 and is used in archive/zip
starting with Go 1.20. Therefore, this method is now needed in Go 1.20.

I've left out the parts that disable parallel execution of tests,
because we don't do that in TinyGo.

See:
* https://github.com/golang/go/issues/41260
* https://go-review.googlesource.com/c/go/+/260577
2023-01-15 11:48:05 +01:00
..
benchmark.go src/testing: add support for -benchmem 2022-08-20 11:41:20 +02:00
benchmark_test.go testing: support b.SetBytes(); implement sub-benchmarks. 2022-01-11 11:53:24 +01:00
doc.go Add test command to tinygo (#243) 2019-06-18 12:23:59 +02:00
fuzz.go all: format code according to Go 1.19 rules 2022-08-04 12:18:32 +02:00
is_baremetal.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
is_not_baremetal.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
is_wasi_no_test.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
is_wasi_test.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
match.go On baremetal platforms, use simpler test matcher. Fixes #2666. 2022-03-15 05:59:00 +01:00
match_test.go testing: benchmarks: -bench: allow filtering subbenchmarks 2022-01-12 21:49:27 +01:00
sub_test.go testing: --run now allows filtering of subtests 2022-01-17 21:54:20 +01:00
testing.go testing: implement t.Setenv 2023-01-15 11:48:05 +01:00
testing_test.go testing: implement t.Setenv 2023-01-15 11:48:05 +01:00