aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest/task.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-09-29 21:22:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-10-03 19:42:36 +0300
commit022d5cb4f246809ce8d9a08d3499edd309ed26e7 (patch)
treeb5546e41ab32cb5692fd3ca409642c3fc5cf1b5c /tests/manifest/task.testscript
parentb387713a19ddf0d10d8ae28c5de6e78cd9d568b5 (diff)
Add agent, worker, and dependency checksums to task/result manifests
Diffstat (limited to 'tests/manifest/task.testscript')
-rw-r--r--tests/manifest/task.testscript17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/manifest/task.testscript b/tests/manifest/task.testscript
index 704ca20..95a2b30 100644
--- a/tests/manifest/task.testscript
+++ b/tests/manifest/task.testscript
@@ -20,12 +20,14 @@ test.options += -t
requires: host
tests: foo-tests
examples: foo-examples
+ dependency-checksum: 12345
machine: windows_10-msvc_14
target: x86_64-microsoft-win32-msvc14.0
environment: lld
config: config.cc.coptions=/Z7 config.cc.loptions=/DEBUG
warning-regex: '^warning: ' '^.+: warning: '
interactive: error
+ worker-checksum: 1
EOF
: no-config-regex-environment
@@ -244,6 +246,14 @@ test.options += -t
interactive: error
interactive: warning
EOI
+
+ : worker-checksum
+ :
+ $* <<EOI 2>'stdin:3:1: error: task worker checksum redefinition' == 1
+ : 1
+ worker-checksum: 1
+ worker-checksum: 1
+ EOI
}
: invalid
@@ -386,6 +396,13 @@ test.options += -t
: 1
interactive:
EOI
+
+ : worker-checksum
+ :
+ $* <<EOI 2>'stdin:2:17: error: empty task worker checksum' == 1
+ : 1
+ worker-checksum:
+ EOI
}
: unknown-name