diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-10-28 14:01:51 +0300 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 09:26:36 +0200 |
commit | 096c98c77269a3e7ad151dd7788e9d96f8f8267d (patch) | |
tree | 616b0f61a11fc5d079dd10234765e63df1cb92b9 /build2/test/script/script | |
parent | 08ae9246421cf2b7269dc09dab2dbd5dc5d0817a (diff) |
Suppress duplicates on test scope path cleanup registration
Diffstat (limited to 'build2/test/script/script')
-rw-r--r-- | build2/test/script/script | 8 |
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; |