From bb62bf4ad90184190ca9d666ec6f2457955a2ef9 Mon Sep 17 00:00:00 2001 From: Don Bright Date: Sat, 17 Dec 2011 15:39:07 -0600 Subject: fix pretty print bug that was printing error message during ctest diff --git a/tests/csgtestcore.cc b/tests/csgtestcore.cc index 3ea0e36..a58c1fd 100644 --- a/tests/csgtestcore.cc +++ b/tests/csgtestcore.cc @@ -290,7 +290,8 @@ int csgtestcore(int argc, char *argv[], test_type_e test_type) } QFileInfo fileInfo(filename); - QDir::setCurrent(fileInfo.absolutePath()); + if (!sysinfo_dump) + QDir::setCurrent(fileInfo.absolutePath()); AbstractNode::resetIndexCounter(); AbstractNode *absolute_root_node = root_module->evaluate(&root_ctx, &root_inst); -- cgit v0.10.1