From cd40097447ff2400cb420ec973c16dadd26e6cda Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 28 Oct 2016 10:10:08 +0200 Subject: Implement description support in testscript --- build2/test/script/script | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'build2/test/script/script') diff --git a/build2/test/script/script b/build2/test/script/script index a841d6c..7ce6708 100644 --- a/build2/test/script/script +++ b/build2/test/script/script @@ -139,6 +139,13 @@ namespace build2 ostream& operator<< (ostream&, const command&); + struct description + { + string id; + string summary; + string details; + }; + class script; class scope @@ -155,6 +162,8 @@ namespace build2 const path& id_path; // Id path ($@, relative in POSIX form). const dir_path& wd_path; // Working dir ($~, absolute and normalized). + optional desc; + // Files and directories that must be automatically cleaned up when // the scope is left. If the path ends with a trailing slash, then it // is assumed to be to a directory, otherwise -- to a file. -- cgit v1.1