From 5007870b52aa549971824959a55ad3bb886f09e0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 3 Sep 2018 16:37:32 +0200 Subject: Rename .test/test{} to .testscript/testscript{} --- build2/test/rule.cxx | 4 ++-- build2/test/target.cxx | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'build2') 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_target_extension, -- cgit v1.1