fix(os): add win ctest

This commit is contained in:
afwerar 2022-05-28 21:38:35 +08:00
parent 7b540d91d9
commit 73724363f5
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ int32_t g_logLevel = 131;
int32_t g_skipSql = 0; int32_t g_skipSql = 0;
void setAsyncFlag(const char* pFlag) { g_testAsyncApis = stoi(pFlag) > 0 ? true : false; } void setAsyncFlag(const char* pFlag) { g_testAsyncApis = stoi(pFlag) > 0 ? true : false; }
void setSkipSqlNum(const char* pNum) { g_skipSql = stoi(optarg); } void setSkipSqlNum(const char* pNum) { g_skipSql = stoi(pNum); }
struct TerminateFlag : public exception { struct TerminateFlag : public exception {
const char* what() const throw() { return "success and terminate"; } const char* what() const throw() { return "success and terminate"; }

View File

@ -73,7 +73,7 @@ void setDumpModule(const char* pModule) {
} }
} }
void setSkipSqlNum(const char* pNum) { g_skipSql = stoi(optarg); } void setSkipSqlNum(const char* pNum) { g_skipSql = stoi(pNum); }
void setLogLevel(const char* pLogLevel) { g_logLevel = stoi(pLogLevel); } void setLogLevel(const char* pLogLevel) { g_logLevel = stoi(pLogLevel); }