mirror of
https://github.com/gonum/gonum.git
synced 2025-10-11 01:50:12 +08:00
lapack/gonum: reenable Dgeev and Dgebrd tests for noasm and appengine builds
This commit is contained in:

committed by
Vladimír Chalupecký

parent
2768e4f21b
commit
f14e8c9f10
@@ -1,9 +0,0 @@
|
|||||||
// 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 gonum
|
|
||||||
|
|
||||||
func init() { appengine = true }
|
|
@@ -10,8 +10,6 @@ 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) {
|
||||||
@@ -35,9 +33,6 @@ 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)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -46,9 +41,6 @@ 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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user