summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-rwxr-xr-xcheck12
1 files changed, 6 insertions, 6 deletions
diff --git a/check b/check
index 5dc60ed..0a0f2c7 100755
--- a/check
+++ b/check
@@ -101,11 +101,12 @@ class Runcmd:
[
"run",
"--package=subplot",
- "--bin=sp-codegen",
+ "--bin=subplot",
"--",
+ f"--resources={os.path.abspath('share')}",
+ "codegen",
md,
f"--output={output}",
- f"--resources={os.path.abspath('share')}",
],
**kwargs,
)
@@ -116,11 +117,12 @@ class Runcmd:
[
"run",
"--package=subplot",
- "--bin=sp-docgen",
+ "--bin=subplot",
"--",
+ f"--resources={os.path.abspath('share')}",
+ "docgen",
md,
f"--output={output}",
- f"--resources={os.path.abspath('share')}",
],
**kwargs,
)
@@ -199,8 +201,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)