summaryrefslogtreecommitdiff
path: root/shell/test/runner
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-05-13 11:07:43 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-05-15 13:45:18 +0200
commitd246c53e66b22c7a5b2bb273be5478dba2467357 (patch)
tree209344799a8a51549d8ef27095ff657aeee25d9d /shell/test/runner
parent07924d28e81fe36ddb8e020552a7392fcf1227a0 (diff)
downloadrules-cc-d246c53e66b22c7a5b2bb273be5478dba2467357.tar.gz
Add shell defaults
So far, our rules, where depending on the shell, implicitly use "normal" defaults, hard-coded in the rules. Support configuring those in a default target, in the same way we do so for other tools, like the C compiler. In this, it is also possible to bring your own shell, built as a (compiled) target.
Diffstat (limited to 'shell/test/runner')
-rwxr-xr-xshell/test/runner2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/test/runner b/shell/test/runner
index a99d5b7..f762355 100755
--- a/shell/test/runner
+++ b/shell/test/runner
@@ -35,7 +35,7 @@ cd work
date +%s > ../time-start
# TODO:
# - proper wrapping with timeout
-if sh ../test.sh > ../stdout 2> ../stderr
+if . ../invocation > ../stdout 2> ../stderr
then
RESULT=PASS
else