From 2e871d2000b9f105f5bc49be2b6cc66e7492fcde Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 5 Jul 2024 23:28:04 +0300 Subject: Adapt tests to libbutl's manifest serializer which now uses new-fashioned multi-line value introducer --- tests/manifest/result.testscript | 15 ++++++++++----- tests/manifest/task.testscript | 8 +++++--- 2 files changed, 15 insertions(+), 8 deletions(-) (limited to 'tests') diff --git a/tests/manifest/result.testscript b/tests/manifest/result.testscript index b48a691..728b5f9 100644 --- a/tests/manifest/result.testscript +++ b/tests/manifest/result.testscript @@ -18,15 +18,18 @@ test.options += -r configure-status: success update-status: warning test-status: error - configure-log:\ + configure-log: + \ conf line 1 conf line 2 \ - update-log:\ + update-log: + \ update line 1 update line 2 \ - test-log:\ + test-log: + \ test line 1 test line 2 \ @@ -43,11 +46,13 @@ test.options += -r status: error configure-status: warning update-status: error - configure-log:\ + configure-log: + \ conf line 1 conf line 2 \ - update-log:\ + update-log: + \ update line 1 update line 2 \ diff --git a/tests/manifest/task.testscript b/tests/manifest/task.testscript index b9bc3e5..d901dc4 100644 --- a/tests/manifest/task.testscript +++ b/tests/manifest/task.testscript @@ -26,7 +26,8 @@ test.options += -t auxiliary-machine: x86_64-linux_debian_12-mysql* target: x86_64-microsoft-win32-msvc14.0 environment: lld - auxiliary-environment:\ + auxiliary-environment: + \ PGSQL_DATABASE_HOST=192.168.0.1 PGSQL_DATABASE_PORT=1245 \ @@ -416,9 +417,10 @@ test.options += -t { : bad-field : - $* <'stdin:3:7: error: invalid task configuration: unterminated quoted string' == 1 + $* <'stdin:4:7: error: invalid task configuration: unterminated quoted string' == 1 : 1 - target-config:\ + target-config: + \ 'abc=x \ EOI -- cgit v1.1