From 022d5cb4f246809ce8d9a08d3499edd309ed26e7 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 29 Sep 2021 21:22:00 +0300 Subject: Add agent, worker, and dependency checksums to task/result manifests --- tests/manifest/task.testscript | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'tests/manifest/task.testscript') 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 + : + $* <'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 + : + $* <'stdin:2:17: error: empty task worker checksum' == 1 + : 1 + worker-checksum: + EOI } : unknown-name -- cgit v1.1