diff --git a/Makefile b/Makefile index dd79b509..49b39ff2 100644 --- a/Makefile +++ b/Makefile @@ -198,7 +198,9 @@ tinygo-test: $(TINYGO) test container/heap $(TINYGO) test container/list $(TINYGO) test container/ring + $(TINYGO) test crypto/des $(TINYGO) test encoding/ascii85 + $(TINYGO) test encoding/hex $(TINYGO) test math $(TINYGO) test text/scanner $(TINYGO) test unicode/utf8 diff --git a/src/testing/benchmark.go b/src/testing/benchmark.go index ee616e70..56f9f6ab 100644 --- a/src/testing/benchmark.go +++ b/src/testing/benchmark.go @@ -20,3 +20,15 @@ type InternalBenchmark struct { Name string F func(b *B) } + +func (b *B) SetBytes(n int64) { + panic("testing: unimplemented: B.SetBytes") +} + +func (b *B) ResetTimer() { + panic("testing: unimplemented: B.ResetTimer") +} + +func (b *B) Run(name string, f func(b *B)) bool { + panic("testing: unimplemented: B.Run") +}