fix(os): add win32 query case
This commit is contained in:
parent
37c822d358
commit
20c2eb1d84
|
@ -131,7 +131,7 @@ if __name__ == "__main__":
|
||||||
is_test_framework = 0
|
is_test_framework = 0
|
||||||
key_word = 'tdCases.addWindows'
|
key_word = 'tdCases.addWindows'
|
||||||
try:
|
try:
|
||||||
if key_word in open(fileName).read():
|
if key_word in open(fileName, encoding='UTF-8').read():
|
||||||
is_test_framework = 1
|
is_test_framework = 1
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -18,11 +18,11 @@ python3 .\test.py -f 0-others\udf_restart_taosd.py
|
||||||
@REM #python3 .\test.py -f 1-insert\test_stmt_muti_insert_query.py
|
@REM #python3 .\test.py -f 1-insert\test_stmt_muti_insert_query.py
|
||||||
@REM python3 .\test.py -f 1-insert\alter_stable.py
|
@REM python3 .\test.py -f 1-insert\alter_stable.py
|
||||||
@REM python3 .\test.py -f 1-insert\alter_table.py
|
@REM python3 .\test.py -f 1-insert\alter_table.py
|
||||||
@REM python3 .\test.py -f 2-query\between.py
|
python3 .\test.py -f 2-query\between.py
|
||||||
@REM python3 .\test.py -f 2-query\distinct.py
|
python3 .\test.py -f 2-query\distinct.py
|
||||||
@REM python3 .\test.py -f 2-query\varchar.py
|
python3 .\test.py -f 2-query\varchar.py
|
||||||
@REM python3 .\test.py -f 2-query\ltrim.py
|
python3 .\test.py -f 2-query\ltrim.py
|
||||||
@REM python3 .\test.py -f 2-query\rtrim.py
|
python3 .\test.py -f 2-query\rtrim.py
|
||||||
@REM python3 .\test.py -f 2-query\length.py
|
@REM python3 .\test.py -f 2-query\length.py
|
||||||
@REM python3 .\test.py -f 2-query\char_length.py
|
@REM python3 .\test.py -f 2-query\char_length.py
|
||||||
@REM python3 .\test.py -f 2-query\upper.py
|
@REM python3 .\test.py -f 2-query\upper.py
|
||||||
|
|
|
@ -168,7 +168,7 @@ if __name__ == "__main__":
|
||||||
key_word = 'tdCases.addWindows'
|
key_word = 'tdCases.addWindows'
|
||||||
is_test_framework = 0
|
is_test_framework = 0
|
||||||
try:
|
try:
|
||||||
if key_word in open(fileName).read():
|
if key_word in open(fileName, encoding='UTF-8').read():
|
||||||
is_test_framework = 1
|
is_test_framework = 1
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue