From e4fea9419ac387ddcb9c932abaa8e92fb045e29f Mon Sep 17 00:00:00 2001 From: knightXun Date: Sat, 29 Sep 2018 00:42:23 +0800 Subject: print error information, when the os is not supported --- tensorflow/go/test.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tensorflow/go') 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 -- cgit v1.2.3