From ce0cfe1ad9c59dad7a0b026e54ee992fb80f5aae Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 12 Apr 2021 11:02:12 +0300 Subject: build: don't delete generated test program and its log file Even if the test run is successful, it's good to be able to inspect the files afterwards. They're in .gitignore, so shouldn't bother anyone. --- check | 2 -- 1 file changed, 2 deletions(-) diff --git a/check b/check index 5dc60ed..e366a7b 100755 --- a/check +++ b/check @@ -199,8 +199,6 @@ def check_subplots(r): r.codegen(md, "test.py", cwd=dirname) r.runcmd(["python3", "test.py", "--log", "test.log"], cwd=dirname) - os.remove(test_log) - os.remove(os.path.join(dirname, "test.py")) elif template == "bash": r.codegen(md, "test.sh", cwd=dirname) r.runcmd(["bash", "-x", "test.sh"], cwd=dirname) -- cgit v1.2.1