edwards25519: drop Go builders noopt check
This commit is contained in:
parent
8c58ed0e35
commit
f25ca2c5f0
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue