aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/script.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/script/script.hxx')
-rw-r--r--build2/test/script/script.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/build2/test/script/script.hxx b/build2/test/script/script.hxx
index 9aadf06..acf2b3c 100644
--- a/build2/test/script/script.hxx
+++ b/build2/test/script/script.hxx
@@ -364,6 +364,7 @@ namespace build2
scope_state state = scope_state::unknown;
test::script::cleanups cleanups;
+ paths special_cleanups;
// Variables.
//
@@ -414,6 +415,13 @@ namespace build2
void
clean (cleanup, bool implicit);
+ // Register cleanup of a special file. Such files are created to
+ // maintain testscript machinery and must be removed first, not to
+ // interfere with the user-defined wildcard cleanups.
+ //
+ void
+ clean_special (path p);
+
public:
virtual
~scope () = default;