summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/csgtestcore.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/csgtestcore.cc b/tests/csgtestcore.cc
index 469e51c..c2be326 100644
--- a/tests/csgtestcore.cc
+++ b/tests/csgtestcore.cc
@@ -289,9 +289,10 @@ int csgtestcore(int argc, char *argv[], test_type_e test_type)
exit(1);
}
- QFileInfo fileInfo(filename);
- if (!sysinfo_dump)
+ if (!sysinfo_dump) {
+ QFileInfo fileInfo(filename);
QDir::setCurrent(fileInfo.absolutePath());
+ }
AbstractNode::resetIndexCounter();
AbstractNode *absolute_root_node = root_module->evaluate(&root_ctx, &root_inst);
contact: Jan Huwald // Impressum