mirror of https://github.com/KLayout/klayout.git
Suppress repeated message in unit tests if not required.
This commit is contained in:
parent
093bd526f7
commit
2ffdbb4d91
|
|
@ -74,7 +74,7 @@ static bool
|
||||||
run_test (tl::TestBase *t, bool editable, bool slow, int repeat)
|
run_test (tl::TestBase *t, bool editable, bool slow, int repeat)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < repeat; ++i) {
|
for (int i = 0; i < repeat; ++i) {
|
||||||
if (repeat > 0) {
|
if (repeat > 1) {
|
||||||
ut::noctrl << "Repeat iteration " << i + 1 << " of " << repeat;
|
ut::noctrl << "Repeat iteration " << i + 1 << " of " << repeat;
|
||||||
}
|
}
|
||||||
if (! t->do_test (editable, slow)) {
|
if (! t->do_test (editable, slow)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue