From bb62bf4ad90184190ca9d666ec6f2457955a2ef9 Mon Sep 17 00:00:00 2001 From: Don Bright Date: Sat, 17 Dec 2011 15:39:07 -0600 Subject: [PATCH] fix pretty print bug that was printing error message during ctest --- tests/csgtestcore.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/csgtestcore.cc b/tests/csgtestcore.cc index 3ea0e366..a58c1fd3 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);