From 79a83d6dd0f312a5e390f5627f68cc96c4427d33 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 Oct 2016 18:00:05 +0200 Subject: Add support for setup/teardown commands --- unit-tests/test/script/parser/driver.cxx | 2 +- unit-tests/test/script/parser/here-document.test | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) (limited to 'unit-tests/test/script/parser') diff --git a/unit-tests/test/script/parser/driver.cxx b/unit-tests/test/script/parser/driver.cxx index 4fd0489..6e3fed5 100644 --- a/unit-tests/test/script/parser/driver.cxx +++ b/unit-tests/test/script/parser/driver.cxx @@ -70,7 +70,7 @@ namespace build2 { tracer trace ("main"); - init (1); // Default verbosity. + init ("false", 1); // No build system driver, default verbosity. reset (strings ()); // No command line variables. bool scope (false); diff --git a/unit-tests/test/script/parser/here-document.test b/unit-tests/test/script/parser/here-document.test index 13b070a..d6b21fd 100644 --- a/unit-tests/test/script/parser/here-document.test +++ b/unit-tests/test/script/parser/here-document.test @@ -1,4 +1,20 @@ +$* <>EOO # blank-lines +cmd <