Add noasm tag to coverage tests

This commit is contained in:
Vladimir Chalupecky
2015-12-18 10:45:40 +09:00
parent ffdeed5a24
commit c5e541ba54

View File

@@ -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