aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/script
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-10-25 07:11:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:35 +0200
commitf2522265c0e778f3c545d8f984b2621369b10c17 (patch)
treee0c8b6d546be87c83993da3dc9abc575afa81781 /build2/test/script/script
parentd816d38bc503e3a98ade2e443d4bf399a9da76e7 (diff)
Minor name changes in testscript object model
Diffstat (limited to 'build2/test/script/script')
-rw-r--r--build2/test/script/script7
1 files changed, 4 insertions, 3 deletions
diff --git a/build2/test/script/script b/build2/test/script/script
index a5fb0ef..2d74b16 100644
--- a/build2/test/script/script
+++ b/build2/test/script/script
@@ -122,10 +122,11 @@ namespace build2
const path& id_path; // Id path ($@, relative in POSIX form).
const dir_path& wd_path; // Working dir ($~, absolute and normalized).
- // Files and directories that must be automatically removed when the
- // scope is left.
+ // 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.
//
- paths rm_paths;
+ paths cleanups;
// Variables.
//