aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/go
diff options
context:
space:
mode:
authorGravatar knightXun <badgangkiller@gmail.com>2018-09-29 00:42:23 +0800
committerGravatar knightXun <badgangkiller@gmail.com>2018-09-29 09:31:12 +0800
commite4fea9419ac387ddcb9c932abaa8e92fb045e29f (patch)
tree2fdb58aea5995195b2a0d8078f9ed159aeec9252 /tensorflow/go
parentf4014108a310928cd897085a8bc7d757c641a1c3 (diff)
print error information, when the os is not supported
Diffstat (limited to 'tensorflow/go')
-rwxr-xr-xtensorflow/go/test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/go/test.sh b/tensorflow/go/test.sh
index 6083608f22..47c3a68379 100755
--- a/tensorflow/go/test.sh
+++ b/tensorflow/go/test.sh
@@ -63,6 +63,9 @@ then
else
export DYLD_LIBRARY_PATH="${PWD}/tensorflow:${DYLD_LIBRARY_PATH}"
fi
+else
+ echo "Only support Linux/Darwin, System $OS is not supported"
+ exit 1
fi
# Document the Go version and run tests