# file : tests/manifest/task-request.test # copyright : Copyright (c) 2014-2017 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file test.options += -tq : valid : : Roundtrip the task request manifest. : $* <>EOF : 1 agent: upsa fingerprint: 1105fb394ee870adb154b7abfbbae5755df7dcef6c81db34e8d1b68d2653734e : id: a2b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 name: windows_10-msvc_14 summary: Windows 10 build 1607 with VC 14 update 3 EOF : redefinition : { : agent : $* <'stdin:3:1: error: task request agent redefinition' == 1 : 1 agent: upsa agent: upsa EOI : fingerprint : $* <'stdin:3:1: error: task request fingerprint redefinition' == 1 : 1 fingerprint: 1105fb394ee870adb154b7abfbbae5755df7dcef6c81db34e8d1b68d2653734e fingerprint: 1105fb394ee870adb154b7abfbbae5755df7dcef6c81db34e8d1b68d2653734e EOI } : empty : { : agent : $* <'stdin:2:7: error: empty task request agent' == 1 : 1 agent: EOI } : invalid-fingerprint : $* <'stdin:2:14: error: invalid task request fingerprint' == 1 : 1 fingerprint: 123x EOI : missed : { : agent : $* <'stdin:3:1: error: no task request agent specified' == 1 : 1 fingerprint: 1105fb394ee870adb154b7abfbbae5755df7dcef6c81db34e8d1b68d2653734e EOI : fingerprint : $* <'stdin:3:1: error: no task request fingerprint specified' == 1 : 1 agent: upsa EOI } : no-machines : $* <'stdin:4:1: error: no task request machines specified' == 1 : 1 agent: upsa fingerprint: 1105fb394ee870adb154b7abfbbae5755df7dcef6c81db34e8d1b68d2653734e EOI : type-not-allowed : $* <'stdin:7:1: error: machine type not allowed' == 1 : 1 agent: upsa fingerprint: 1105fb394ee870adb154b7abfbbae5755df7dcef6c81db34e8d1b68d2653734e : id: a2b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 name: windows_10-msvc_14 type: vm summary: Windows 10 build 1607 with VC 14 update 3 EOI