Renable SAN tests on selective_build_test
Marking the test not portable for mobile platforms. PiperOrigin-RevId: 323507613 Change-Id: I26d29a57316a02726711460eaf56b6215bacb0e1
This commit is contained in:
parent
83870cb25f
commit
9efc52e47d
@ -555,9 +555,7 @@ cc_test(
|
||||
],
|
||||
tags = [
|
||||
"no_mac", # b/161990368
|
||||
"noasan", # b/162027436
|
||||
"nomsan", # b/162027436
|
||||
"notsan", # b/162027436
|
||||
"tflite_not_portable",
|
||||
],
|
||||
deps = [
|
||||
":test_tflite_lib",
|
||||
|
@ -51,8 +51,8 @@ bool RunWithRandomInputs(const std::string& filename) {
|
||||
for (auto it = data.begin(); it != data.end(); ++it) {
|
||||
*it = random();
|
||||
}
|
||||
tensor->data.raw = reinterpret_cast<char*>(data.data());
|
||||
sample.push_back(data);
|
||||
tensor->data.raw = reinterpret_cast<char*>(sample.rbegin()->data());
|
||||
}
|
||||
|
||||
// Running inference.
|
||||
|
Loading…
x
Reference in New Issue
Block a user