testing: implement some benchmark stubs

This allows the following packages to pass tests:

  * crypto/des
  * encoding/hex

I have not included crypto/rc4 as it doesn't pass tests on Go 1.11 (but
it works on later versions).
This commit is contained in:
Ayke van Laethem
2020-09-25 21:47:34 +02:00
committed by Ron Evans
parent c2bfe6bc8d
commit d8dbe5748a
2 changed files with 14 additions and 0 deletions
+2
View File
@@ -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