aboutsummaryrefslogtreecommitdiff
path: root/build2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-09-03 16:37:32 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2018-09-04 16:29:59 +0300
commit5007870b52aa549971824959a55ad3bb886f09e0 (patch)
treeb0ef7f24c0b9ece2ed23f3c1792f16da324e4171 /build2
parent09d60452a80d14d9b8bf3a9395860b50683fa1e8 (diff)
Rename .test/test{} to .testscript/testscript{}
Diffstat (limited to 'build2')
-rw-r--r--build2/test/rule.cxx4
-rw-r--r--build2/test/target.cxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx
index 282540c..64cd56c 100644
--- a/build2/test/rule.cxx
+++ b/build2/test/rule.cxx
@@ -113,8 +113,8 @@ namespace build2
// it may not be a testable target at all). So as the first step
// determine which case this is.
//
- // If we have any prerequisites of the test{} type, then this is the
- // testscript case.
+ // If we have any prerequisites of the testscript{} type, then this is
+ // the testscript case.
//
// If we can, go inside see-through groups. Normally groups won't be
// resolvable for this action but then normally they won't contain any
diff --git a/build2/test/target.cxx b/build2/test/target.cxx
index 25afd0d..a6adde9 100644
--- a/build2/test/target.cxx
+++ b/build2/test/target.cxx
@@ -15,9 +15,9 @@ namespace build2
testscript_target_extension (const target_key& tk)
{
// If the name is special 'testscript', then there is no extension,
- // otherwise it is .test.
+ // otherwise it is .testscript.
//
- return *tk.name == "testscript" ? "" : "test";
+ return *tk.name == "testscript" ? "" : "testscript";
}
static bool
@@ -39,7 +39,7 @@ namespace build2
if (!e && v != "testscript")
{
- e = "test";
+ e = "testscript";
return true;
}
}
@@ -49,7 +49,7 @@ namespace build2
const target_type testscript::static_type
{
- "test",
+ "testscript",
&file::static_type,
&target_factory<testscript>,
&testscript_target_extension,