From 4ca0dee17566ab429a3cdf871e9992c51f5bf71a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 13 Oct 2022 21:26:34 +0300 Subject: Invent diag preamble for buildscript --- tests/recipe/buildscript/testscript | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'tests/recipe') diff --git a/tests/recipe/buildscript/testscript b/tests/recipe/buildscript/testscript index c92de8f..c473b0d 100644 --- a/tests/recipe/buildscript/testscript +++ b/tests/recipe/buildscript/testscript @@ -182,6 +182,25 @@ posix = ($cxx.target.class != 'windows') $* clean 2>- } + : diag + : + { + cat <=buildfile; + foo: + {{ + v1 = foo + echo bar | set v2 + diag $v1 $v2 $> + echo "$v1 $v2" >$path($>) + }} + EOI + + $* 2>'foo bar file{foo.}'; + cat <<'foo bar'; + + $* clean 2>- + } + : depdb : { -- cgit v1.1