diff options
Diffstat (limited to 'tests/csgtestcore.cc')
-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); |