提交 6472f7eb 编写于 作者: J jmtao 提交者: PAN Jiacheng

planning: fix sunnyvale_loop test by fixing missed prediction files. it worked...

planning: fix sunnyvale_loop test by fixing missed prediction files. it worked running all tests since it will have a value from a previous test, but not running an indivisual test
上级 bac1f400
......@@ -187,6 +187,7 @@ TEST_F(SunnyvaleLoopTest, rightturn_with_red_light) {
TEST_F(SunnyvaleLoopTest, change_lane) {
std::string seq_num = "9";
FLAGS_test_routing_response_file = seq_num + "_routing.pb.txt";
FLAGS_test_prediction_file = seq_num + "_prediction.pb.txt";
FLAGS_test_localization_file = seq_num + "_localization.pb.txt";
FLAGS_test_chassis_file = seq_num + "_chassis.pb.txt";
PlanningTestBase::SetUp();
......@@ -199,6 +200,7 @@ TEST_F(SunnyvaleLoopTest, change_lane) {
TEST_F(SunnyvaleLoopTest, mission_complete) {
std::string seq_num = "10";
FLAGS_test_routing_response_file = seq_num + "_routing.pb.txt";
FLAGS_test_prediction_file = seq_num + "_prediction.pb.txt";
FLAGS_test_localization_file = seq_num + "_localization.pb.txt";
FLAGS_test_chassis_file = seq_num + "_chassis.pb.txt";
PlanningTestBase::SetUp();
......@@ -227,6 +229,7 @@ TEST_F(SunnyvaleLoopTest, qp_path_failure) {
std::string seq_num = "12";
FLAGS_reckless_change_lane = true;
FLAGS_test_chassis_file = seq_num + "_chassis.pb.txt";
FLAGS_test_prediction_file = seq_num + "_prediction.pb.txt";
FLAGS_test_localization_file = seq_num + "_localization.pb.txt";
FLAGS_test_routing_response_file = seq_num + "_routing.pb.txt";
PlanningTestBase::SetUp();
......@@ -248,6 +251,7 @@ TEST_F(SunnyvaleLoopTest, change_lane_failback) {
AERROR << "Could not find lane 2020_1_-2 on map " << hdmap::BaseMapFile();
return;
}
std::string seq_num = "13";
FLAGS_reckless_change_lane = true;
FLAGS_test_chassis_file = seq_num + "_chassis.pb.txt";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册