fix(os): add win ctest
This commit is contained in:
parent
7b540d91d9
commit
73724363f5
|
@ -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"; }
|
||||||
|
|
|
@ -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); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue