aboutsummaryrefslogtreecommitdiff
path: root/build2/test/common
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-02-07 08:09:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-02-13 12:42:42 +0200
commit7b9eb752cad04aaadc4552d0f26d307b04af1869 (patch)
treed19cdb450ddec384ec41d9129f8d4afecc14acb7 /build2/test/common
parentbe773edfa2c8f8f3230509bbd713542d20fbb37e (diff)
Pass const target& to recipes
Diffstat (limited to 'build2/test/common')
-rw-r--r--build2/test/common6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/test/common b/build2/test/common
index d3678c8..44c7bf8 100644
--- a/build2/test/common
+++ b/build2/test/common
@@ -25,18 +25,18 @@ namespace build2
// prerequisites.
//
bool
- pass (target& alias_target) const;
+ pass (const target& alias_target) const;
// Return true if the specified target should be tested.
//
bool
- test (target& test_target) const;
+ test (const target& test_target) const;
// Return true if the specified target should be tested with the
// specified testscript test (or group).
//
bool
- test (target& test_target, const path& id_path) const;
+ test (const target& test_target, const path& id_path) const;
};
}
}