From ef7cb7ea3e6fcb21a4fcf38602b3f43f03232ace Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 1 Dec 2016 17:08:31 +0200 Subject: Implement testscript variable-if Now a variable-only if is treated the same as a single variable when deciding whether it is part of a test or setup/teardown. --- build2/test/script/script | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build2/test/script/script') diff --git a/build2/test/script/script b/build2/test/script/script index 241f148..1be33bb 100644 --- a/build2/test/script/script +++ b/build2/test/script/script @@ -50,7 +50,9 @@ namespace build2 replay_tokens tokens; }; - using lines = vector; + // Most of the time we will have just one line (test command). + // + using lines = small_vector; // Parse object model. // -- cgit v1.1