testing: test testing package using tinygo test
Этот коммит содержится в:
родитель
5e5ce98d42
коммит
c25a7cc747
2 изменённых файлов: 4 добавлений и 5 удалений
3
Makefile
3
Makefile
|
@ -203,6 +203,7 @@ TEST_PACKAGES = \
|
|||
hash/crc64 \
|
||||
math \
|
||||
math/cmplx \
|
||||
testing \
|
||||
text/scanner \
|
||||
unicode/utf8 \
|
||||
|
||||
|
@ -211,8 +212,6 @@ TEST_PACKAGES = \
|
|||
.PHONY: tinygo-test
|
||||
tinygo-test:
|
||||
$(TINYGO) test $(TEST_PACKAGES)
|
||||
# until "test testing" passes
|
||||
cd tests/tinygotest && $(TINYGO) test benchmark_test.go
|
||||
|
||||
.PHONY: smoketest
|
||||
smoketest:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package testbench
|
||||
package testing_test
|
||||
|
||||
import (
|
||||
"testing"
|
Загрузка…
Создание таблицы
Сослаться в новой задаче