Ver código fonte

输出stderr

myuan 2 anos atrás
pai
commit
3e79d1ee4a
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      run_sql_parser_test.py

+ 2 - 1
run_sql_parser_test.py

@@ -77,8 +77,9 @@ async def on_parser_modified():
 
 async def on_checker_modified():
     print(datetime.now(), colored("run checker tests...", "yellow"))
-    stdout, stderr = await run_and_output('xmake', 'run', "sql-checker", "-f", "test.cpp", "-g", "2")
+    stdout, stderr = await run_and_output('xmake', 'run', "sql-checker")
     print(stdout.decode("utf-8"))
+    print(stderr.decode("utf-8"))
     print(datetime.now(), colored("all checker tests right!", "green"))