diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-12-17 21:39:07 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-12-17 21:39:07 (GMT) |
commit | bb62bf4ad90184190ca9d666ec6f2457955a2ef9 (patch) | |
tree | edf24a51a583f330b09b87779322ab1a38b82c02 | |
parent | ef29553226ddb3f8f0565dbd6004d76e26c80ddc (diff) |
fix pretty print bug that was printing error message during ctest
-rw-r--r-- | tests/csgtestcore.cc | 3 |
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); |