aboutsummaryrefslogtreecommitdiff
path: root/tests/dependency
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dependency')
-rw-r--r--tests/dependency/recipe/testscript27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/dependency/recipe/testscript b/tests/dependency/recipe/testscript
index 6cb4711..503ad7e 100644
--- a/tests/dependency/recipe/testscript
+++ b/tests/dependency/recipe/testscript
@@ -69,6 +69,22 @@ EOI
}}
EOE
+: basics-lang
+:
+$* <<EOI 2>>/~%EOE%
+alias{x}:
+{{ c++
+ void f ();
+}}
+dump alias{x}
+EOI
+<stdin>:5:1: dump:
+% .+/alias\{x\}:%
+ {{ c++
+ void f ();
+ }}
+EOE
+
: with-vars
:
$* <<EOI 2>>/~%EOE%
@@ -242,6 +258,17 @@ EOI
<stdin>:2:1: info: recipe block starts here
EOE
+: expected-lang
+:
+$* <<EOI 2>>EOE != 0
+alias{x}:
+{{ $lang
+ cmd
+}}
+EOI
+<stdin>:2:4: error: expected recipe language instead of '$'
+EOE
+
: header-attribute
:
$* <<EOI 2>>/~!EOE!