summaryrefslogtreecommitdiff
path: root/tests/csgtestcore.cc
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2011-12-17 21:39:07 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2011-12-17 21:39:07 (GMT)
commitbb62bf4ad90184190ca9d666ec6f2457955a2ef9 (patch)
treeedf24a51a583f330b09b87779322ab1a38b82c02 /tests/csgtestcore.cc
parentef29553226ddb3f8f0565dbd6004d76e26c80ddc (diff)
fix pretty print bug that was printing error message during ctest
Diffstat (limited to 'tests/csgtestcore.cc')
-rw-r--r--tests/csgtestcore.cc3
1 files changed, 2 insertions, 1 deletions
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);
contact: Jan Huwald // Impressum