summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-04-12 11:02:12 +0300
committerLars Wirzenius <liw@liw.fi>2021-04-12 11:02:12 +0300
commitce0cfe1ad9c59dad7a0b026e54ee992fb80f5aae (patch)
tree1e1d8d1ce2a9e092e2ca49f6ec91f7e217c6b57f
parent22719be2c3b13e4dd0463db10023d615a6bde847 (diff)
downloadsubplot-ce0cfe1ad9c59dad7a0b026e54ee992fb80f5aae.tar.gz
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.
-rwxr-xr-xcheck2
1 files changed, 0 insertions, 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)