From 675d243e0ddeb627c0881b03e7cd5be746a5a7d3 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 1 Nov 2016 17:25:14 +0300 Subject: Add support for cleanup types to testscript runner --- build2/test/script/script | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'build2/test/script/script') diff --git a/build2/test/script/script b/build2/test/script/script index 9c65b96..5f6b861 100644 --- a/build2/test/script/script +++ b/build2/test/script/script @@ -95,7 +95,7 @@ namespace build2 { always, // &foo - cleanup, fail if does not exist. maybe, // &?foo - cleanup, ignore if does not exist. - never // &!foo - cleanup, ignore if exists. + never // &!foo - don’t cleanup, ignore if doesn’t exist. }; // File or directory to be automatically cleaned up at the end of the @@ -111,8 +111,7 @@ namespace build2 // dir/** - remove all files recursively // dir/**/ - remove all sub-directories recursively (must be empty) // dir/*** - remove directory dir with all files and sub-directories - // recursively (removing non-existent directory is not an - // error) + // recursively // struct cleanup { -- cgit v1.1