aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/script
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-10-28 14:01:51 +0300
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:36 +0200
commit096c98c77269a3e7ad151dd7788e9d96f8f8267d (patch)
tree616b0f61a11fc5d079dd10234765e63df1cb92b9 /build2/test/script/script
parent08ae9246421cf2b7269dc09dab2dbd5dc5d0817a (diff)
Suppress duplicates on test scope path cleanup registration
Diffstat (limited to 'build2/test/script/script')
-rw-r--r--build2/test/script/script8
1 files changed, 8 insertions, 0 deletions
diff --git a/build2/test/script/script b/build2/test/script/script
index dbdcca1..362f0df 100644
--- a/build2/test/script/script
+++ b/build2/test/script/script
@@ -203,6 +203,14 @@ namespace build2
value&
append (const variable&);
+ // Register path for cleanup. Suppress duplicates.
+ //
+ void
+ clean (const path& p);
+
+ void
+ clean (path&& p);
+
public:
virtual
~scope () = default;