From 39a0cc21f948b251672e1f22d393c33c57a4b649 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 28 Oct 2016 11:20:52 +0200 Subject: Minor testscript cleanups --- build2/test/script/runner.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/test/script/runner.cxx') diff --git a/build2/test/script/runner.cxx b/build2/test/script/runner.cxx index 622696e..8c52288 100644 --- a/build2/test/script/runner.cxx +++ b/build2/test/script/runner.cxx @@ -202,9 +202,9 @@ namespace build2 // // Note that we operate with normalized paths here. // - // @@ What if to make cleanup insensitive to the registration order, - // and sorting paths properly prior removal? Would it produce any - // testing flaws? + // + // @@ I think we should weed duplicates on registration. And just do + // linear search in vector since we don't expect many cleanups. // set rp; for (auto& p: reverse_iterate (sp.cleanups)) -- cgit v1.1