edwards25519: drop Go builders noopt check

This commit is contained in:
Cuong Manh Le 2022-08-09 00:55:13 +07:00 committed by Filippo Valsorda
parent 8c58ed0e35
commit f25ca2c5f0

View file

@ -6,9 +6,7 @@ package edwards25519
import (
"encoding/hex"
"os"
"reflect"
"strings"
"testing"
"filippo.io/edwards25519/field"
@ -282,9 +280,6 @@ func TestNonCanonicalPoints(t *testing.T) {
var testAllocationsSink byte
func TestAllocations(t *testing.T) {
if strings.HasSuffix(os.Getenv("GO_BUILDER_NAME"), "-noopt") {
t.Skip("skipping allocations test without relevant optimizations")
}
if allocs := testing.AllocsPerRun(100, func() {
p := NewIdentityPoint()
p.Add(p, NewGeneratorPoint())