debug windows tests

This commit is contained in:
Sina Atalay 2023-10-11 17:54:41 +02:00
parent e590901120
commit 992e72ba93
1 changed files with 2 additions and 1 deletions

View File

@ -364,6 +364,7 @@ def run_latex(latex_file_path):
continue continue
# remove the file: # remove the file:
os.remove(os.path.join(os.path.dirname(latex_file_path), file)) os.remove(os.path.join(os.path.dirname(latex_file_path), file))
if os.name == "nt": if os.name == "nt":
tinytex_path = os.path.join( tinytex_path = os.path.join(
os.path.dirname(__file__), os.path.dirname(__file__),
@ -390,7 +391,7 @@ def run_latex(latex_file_path):
f"{latex_file}", f"{latex_file}",
], ],
cwd=os.path.dirname(latex_file_path), cwd=os.path.dirname(latex_file_path),
stdout=subprocess.DEVNULL, # suppress latexmk output # stdout=subprocess.DEVNULL, # suppress latexmk output
) )
end_time = time.time() end_time = time.time()
time_taken = end_time - start_time time_taken = end_time - start_time