Rename the ObjC tests target name
PiperOrigin-RevId: 349507423 Change-Id: I9cf2809cbb12c88731bdc81ec95445c5428d3f0a
This commit is contained in:
parent
3821342892
commit
ea9aba4c6e
@ -71,14 +71,14 @@ objc_library(
|
|||||||
alwayslink = 1,
|
alwayslink = 1,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# NOTE: This test target name must be lower-cased in order to match it with the
|
||||||
|
# directory name. (See: b/174508866)
|
||||||
ios_unit_test(
|
ios_unit_test(
|
||||||
name = "Tests",
|
name = "tests",
|
||||||
size = "medium",
|
size = "medium",
|
||||||
minimum_os_version = TFL_MINIMUM_OS_VERSION,
|
minimum_os_version = TFL_MINIMUM_OS_VERSION,
|
||||||
runner = tflite_ios_lab_runner("IOS_LATEST"),
|
runner = tflite_ios_lab_runner("IOS_LATEST"),
|
||||||
tags = TFL_DEFAULT_TAGS + TFL_DISABLED_SANITIZER_TAGS + [
|
tags = TFL_DEFAULT_TAGS + TFL_DISABLED_SANITIZER_TAGS,
|
||||||
"nozapfhahn", # TODO(b/145984659): Enable after solving tool failure.
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
":TestsLibrary",
|
":TestsLibrary",
|
||||||
],
|
],
|
||||||
|
@ -74,10 +74,10 @@ Build the `TensorFlowLite` Objective-C library target:
|
|||||||
bazel build tensorflow/lite/objc:TensorFlowLite
|
bazel build tensorflow/lite/objc:TensorFlowLite
|
||||||
```
|
```
|
||||||
|
|
||||||
Build the `Tests` target:
|
Build the `tests` target:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bazel test tensorflow/lite/objc:Tests
|
bazel test tensorflow/lite/objc:tests
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Generate the Xcode project using Tulsi
|
#### Generate the Xcode project using Tulsi
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
"buildTargets" : [
|
"buildTargets" : [
|
||||||
"//tensorflow/lite/objc:TensorFlowLite",
|
"//tensorflow/lite/objc:TensorFlowLite",
|
||||||
"//tensorflow/lite/objc:TestApp",
|
"//tensorflow/lite/objc:TestApp",
|
||||||
"//tensorflow/lite/objc:Tests"
|
"//tensorflow/lite/objc:tests"
|
||||||
],
|
],
|
||||||
"projectName" : "TensorFlowLite",
|
"projectName" : "TensorFlowLite",
|
||||||
"optionSet" : {
|
"optionSet" : {
|
||||||
|
Loading…
Reference in New Issue
Block a user