diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-01 17:08:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-01 17:08:31 +0200 |
commit | ef7cb7ea3e6fcb21a4fcf38602b3f43f03232ace (patch) | |
tree | 7a37583dbe227019e62571d57c92613de3dd4b13 /build2/test/script/script | |
parent | 5e71edfa033f163ded9a82f7d66412d8ee05bc48 (diff) |
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.
Diffstat (limited to 'build2/test/script/script')
-rw-r--r-- | build2/test/script/script | 4 |
1 files changed, 3 insertions, 1 deletions
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<line>; + // Most of the time we will have just one line (test command). + // + using lines = small_vector<line, 1>; // Parse object model. // |