|
|
|
@ -85,6 +85,7 @@ int main(int argc, char *argv[])
|
|
|
|
cout << "*** 5、./test_JBL_Check -falign filepath num : 批量测试定位算法,num 至多处理张数,结果:/home/aidlux/BOE/Align" << endl;
|
|
|
|
cout << "*** 5、./test_JBL_Check -falign filepath num : 批量测试定位算法,num 至多处理张数,结果:/home/aidlux/BOE/Align" << endl;
|
|
|
|
cout << "*** 6、./test_JBL_Check -rjson filepath: 单张复测,filepath xx/xx/3A3K380001B1DK_20240408_152157_Main_0_2_L255" << endl;
|
|
|
|
cout << "*** 6、./test_JBL_Check -rjson filepath: 单张复测,filepath xx/xx/3A3K380001B1DK_20240408_152157_Main_0_2_L255" << endl;
|
|
|
|
cout << "*** 6、./test_JBL_Check -rjsonall filepath: 一套图复测,filepath xx/xx/" << endl;
|
|
|
|
cout << "*** 6、./test_JBL_Check -rjsonall filepath: 一套图复测,filepath xx/xx/" << endl;
|
|
|
|
|
|
|
|
cout << "*** 7、./test_SOCKET -8: 循环执行程序(常驻),不加 -8 只执行一次" << endl;
|
|
|
|
|
|
|
|
|
|
|
|
cout << "******************************************************" << endl;
|
|
|
|
cout << "******************************************************" << endl;
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
@ -145,12 +146,21 @@ int main(int argc, char *argv[])
|
|
|
|
test.runConfig.print("config");
|
|
|
|
test.runConfig.print("config");
|
|
|
|
// getchar();
|
|
|
|
// getchar();
|
|
|
|
signal(SIGINT, handler);
|
|
|
|
signal(SIGINT, handler);
|
|
|
|
test.start();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
while (true)
|
|
|
|
// -8: 循环执行程序(常驻);默认:执行一次后退出
|
|
|
|
|
|
|
|
bool bLoop = false;
|
|
|
|
|
|
|
|
for (int i = 1; i < argc; i++)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
usleep(10 * 1000);
|
|
|
|
if (string(argv[i]) == "-8")
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
bLoop = true;
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test.runConfig.bLoop = bLoop;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test.start();
|
|
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|