提交 e2b17134 编写于 作者: Y yejianwu

fix tuner_test

上级 871e3392
......@@ -64,7 +64,7 @@ cc_test(
"tuner_test.cc",
],
copts = ["-Werror", "-Wextra", "-Wno-missing-field-initializers"],
linkopts = if_android([
linkopts = ["-ldl"] + if_android([
"-pie",
"-lm", # Required by unordered_map
]),
......
......@@ -33,6 +33,8 @@ TEST_F(TunerTest, SimpleRun) {
int expect = 1;
auto TunerFunc = [&](const std::vector<unsigned int> &params, Timer *timer,
std::vector<uint32_t> *tuning_result) -> int {
(void)(timer);
(void)(tuning_result);
if (params.front() == 1) {
return expect;
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册