Turn gpu test off on solaris and macos. #4295