aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest/task.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-03-15 22:02:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-03-26 10:40:12 +0300
commit7ec5a2ef1ac80d2a3b1715e75ac4e507330de4e6 (patch)
tree46bc96a1f0e3381c644c03ad79d5539952d4d0db /tests/manifest/task.testscript
parentf131b3e4654ab5a70fb65930967ca02f7ca506f7 (diff)
Add support for interactive-{mode,login} task request and interactive task manifest values
Diffstat (limited to 'tests/manifest/task.testscript')
-rw-r--r--tests/manifest/task.testscript16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/manifest/task.testscript b/tests/manifest/task.testscript
index 65ecd29..b5ca66a 100644
--- a/tests/manifest/task.testscript
+++ b/tests/manifest/task.testscript
@@ -24,6 +24,7 @@ test.options += -t
environment: lld
config: config.cc.coptions=/Z7 config.cc.loptions=/DEBUG
warning-regex: '^warning: ' '^.+: warning: '
+ interactive: error
EOF
: no-config-regex-environment
@@ -167,6 +168,14 @@ test.options += -t
warning-regex: '^warning: '
warning-regex: '^.+: warning: '
EOI
+
+ : interactive
+ :
+ $* <<EOI 2>'stdin:3:1: error: task interactive value redefinition' == 1
+ : 1
+ interactive: error
+ interactive: warning
+ EOI
}
: invalid
@@ -326,6 +335,13 @@ test.options += -t
: 1
trust: abc
EOI
+
+ : interactive
+ :
+ $* <<EOI 2>'stdin:2:13: error: empty task interactive value' == 1
+ : 1
+ interactive:
+ EOI
}
: unknown-name