summaryrefslogtreecommitdiffstats
path: root/build2/test/script/script.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-03-07 09:06:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-03-07 09:06:37 +0200
commit1845141809aa91b03718066a6f46863885a6a887 (patch)
treea3f542ec7c1781e65aa16a9b0d5c31eae4c4d757 /build2/test/script/script.hxx
parente0002617846755fb5f199f40a677e16d6f69e5ec (diff)
downloadbuild2-1845141809aa91b03718066a6f46863885a6a887.tar.gz
build2-1845141809aa91b03718066a6f46863885a6a887.tar.xz
build2-1845141809aa91b03718066a6f46863885a6a887.zip
Add support for alternative build file/directory naming scheme
Now the build/*.build, buildfile, and .buildignore filesystem entries in a project can alternatively (but consistently) be called build2/*.build2, build2file, and .build2ignore. See a note at the beginning of the Project Structure section in the manual for details (motivation, restrictions, etc).
Diffstat (limited to 'build2/test/script/script.hxx')
-rw-r--r--build2/test/script/script.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/build2/test/script/script.hxx b/build2/test/script/script.hxx
index 479001b4..4da9d977 100644
--- a/build2/test/script/script.hxx
+++ b/build2/test/script/script.hxx
@@ -536,8 +536,9 @@ namespace build2
script& operator= (const script&) = delete;
public:
- const target& test_target; // Target we are testing.
- const testscript& script_target; // Target of the testscript file.
+ const target& test_target; // Target we are testing.
+ const build2::scope& target_scope; // Base scope of test target.
+ const testscript& script_target; // Target of the testscript file.
// Pre-parse data.
//