提交 fff1483d 编写于 作者: 刘琦

Merge branch 'fix_tuner_test' into 'master'

fix tuner_test

See merge request !536
......@@ -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.
先完成此消息的编辑!
想要评论请 注册