mirror of
https://github.com/gonum/gonum.git
synced 2025-10-21 22:29:30 +08:00
Add noasm tag to coverage tests
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
# with script found at https://github.com/gopns/gopns/blob/master/test-coverage.sh
|
# with script found at https://github.com/gopns/gopns/blob/master/test-coverage.sh
|
||||||
|
|
||||||
echo "mode: set" > acc.out
|
echo "mode: set" > acc.out
|
||||||
returnval=`go test -v -coverprofile=profile.out`
|
returnval=`go test -v -coverprofile=profile.out -tags noasm`
|
||||||
echo ${returnval}
|
echo ${returnval}
|
||||||
if [[ ${returnval} != *FAIL* ]]
|
if [[ ${returnval} != *FAIL* ]]
|
||||||
then
|
then
|
||||||
@@ -21,7 +21,7 @@ do
|
|||||||
if ls $Dir/*.go &> /dev/null;
|
if ls $Dir/*.go &> /dev/null;
|
||||||
then
|
then
|
||||||
echo $Dir
|
echo $Dir
|
||||||
returnval=`go test -v -coverprofile=profile.out $Dir`
|
returnval=`go test -v -coverprofile=profile.out $Dir -tags noasm`
|
||||||
echo ${returnval}
|
echo ${returnval}
|
||||||
if [[ ${returnval} != *FAIL* ]]
|
if [[ ${returnval} != *FAIL* ]]
|
||||||
then
|
then
|
||||||
|
Reference in New Issue
Block a user