diff options
author | knightXun <badgangkiller@gmail.com> | 2018-09-29 00:42:23 +0800 |
---|---|---|
committer | knightXun <badgangkiller@gmail.com> | 2018-09-29 09:31:12 +0800 |
commit | e4fea9419ac387ddcb9c932abaa8e92fb045e29f (patch) | |
tree | 2fdb58aea5995195b2a0d8078f9ed159aeec9252 /tensorflow/go | |
parent | f4014108a310928cd897085a8bc7d757c641a1c3 (diff) |
print error information, when the os is not supported
Diffstat (limited to 'tensorflow/go')
-rwxr-xr-x | tensorflow/go/test.sh | 3 |
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 |