mirror of
https://github.com/gonum/gonum.git
synced 2025-10-20 21:59:25 +08:00
lapack/native,stat: skip noasm-failing tests
This commit is contained in:
9
lapack/native/appengine_test.go
Normal file
9
lapack/native/appengine_test.go
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// +build noasm appengine
|
||||||
|
|
||||||
|
package native
|
||||||
|
|
||||||
|
func init() { appengine = true }
|
@@ -10,6 +10,8 @@ import (
|
|||||||
"gonum.org/v1/gonum/lapack/testlapack"
|
"gonum.org/v1/gonum/lapack/testlapack"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var appengine bool
|
||||||
|
|
||||||
var impl = Implementation{}
|
var impl = Implementation{}
|
||||||
|
|
||||||
func TestDbdsqr(t *testing.T) {
|
func TestDbdsqr(t *testing.T) {
|
||||||
@@ -33,6 +35,9 @@ func TestDgebd2(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestDgebrd(t *testing.T) {
|
func TestDgebrd(t *testing.T) {
|
||||||
|
if appengine {
|
||||||
|
t.Skip("non-asm implementation fails test")
|
||||||
|
}
|
||||||
testlapack.DgebrdTest(t, impl)
|
testlapack.DgebrdTest(t, impl)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -41,6 +46,9 @@ func TestDgecon(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestDgeev(t *testing.T) {
|
func TestDgeev(t *testing.T) {
|
||||||
|
if appengine {
|
||||||
|
t.Skip("non-asm implementation fails test")
|
||||||
|
}
|
||||||
testlapack.DgeevTest(t, impl)
|
testlapack.DgeevTest(t, impl)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
9
stat/appengine_test.go
Normal file
9
stat/appengine_test.go
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// +build noasm appengine
|
||||||
|
|
||||||
|
package stat
|
||||||
|
|
||||||
|
func init() { appengine = true }
|
@@ -11,7 +11,12 @@ import (
|
|||||||
"gonum.org/v1/gonum/matrix/mat64"
|
"gonum.org/v1/gonum/matrix/mat64"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var appengine bool
|
||||||
|
|
||||||
func TestPrincipalComponents(t *testing.T) {
|
func TestPrincipalComponents(t *testing.T) {
|
||||||
|
if appengine {
|
||||||
|
t.Skip("non-asm implementation fails test")
|
||||||
|
}
|
||||||
tests:
|
tests:
|
||||||
for i, test := range []struct {
|
for i, test := range []struct {
|
||||||
data mat64.Matrix
|
data mat64.Matrix
|
||||||
|
Reference in New Issue
Block a user