aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/testing/BUILD
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-06-13 10:48:16 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-06-13 10:50:46 -0700
commitea76cd8938e794e8cc190032c27deaf561ac88a6 (patch)
treeca939eb80260e51b1cb83037884dbda78019dfdb /tensorflow/contrib/lite/testing/BUILD
parent696ac9923003150484ab0bce29d5b66d5a317eb6 (diff)
- Teaches zip tests about unzip location on Android
- Passes use_nnapi from TestDriver to interpeter - Adds command line flag to generated tests for NNAPI - Fixes logic for allocating im2col tensor so that tests pass without NNAPI PiperOrigin-RevId: 200416472
Diffstat (limited to 'tensorflow/contrib/lite/testing/BUILD')
-rw-r--r--tensorflow/contrib/lite/testing/BUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/tensorflow/contrib/lite/testing/BUILD b/tensorflow/contrib/lite/testing/BUILD
index 80e4c5a4dd..b823c97f38 100644
--- a/tensorflow/contrib/lite/testing/BUILD
+++ b/tensorflow/contrib/lite/testing/BUILD
@@ -20,11 +20,15 @@ load(
size = "large",
srcs = ["generated_examples_zip_test.cc"],
args = [
- "--zip_file_path=$(location :zip_%s)" % test_name,
- # TODO(angerson) We may be able to add an external unzip binary instead
- # of relying on an existing one for OSS builds.
- "--unzip_binary_path=/usr/bin/unzip",
- ],
+ ] + select({
+ "//tensorflow:android": [],
+ "//conditions:default": [
+ "--zip_file_path=$(location :zip_%s)" % test_name,
+ # TODO(angerson) We may be able to add an external unzip binary instead
+ # of relying on an existing one for OSS builds.
+ "--unzip_binary_path=/usr/bin/unzip",
+ ],
+ }),
data = [
":zip_%s" % test_name,
],