diff options
Diffstat (limited to 'test-code')
| -rw-r--r-- | test-code/dumptest.cc | 4 | ||||
| -rw-r--r-- | test-code/dumptest.pro | 1 | 
2 files changed, 3 insertions, 2 deletions
diff --git a/test-code/dumptest.cc b/test-code/dumptest.cc index cb2b13c..36261b6 100644 --- a/test-code/dumptest.cc +++ b/test-code/dumptest.cc @@ -144,8 +144,8 @@ int main(int argc, char **argv)  	root_node = root_module->evaluate(&root_ctx, &root_inst);  	// Cache test -	QString dumpstr = root_node->dump(""); -	QString dumpstr_cached = root_node->dump(""); +	QString dumpstr = root_node->dump(); +	QString dumpstr_cached = root_node->dump();  	if (dumpstr != dumpstr_cached) rc = 1;  	NodeDumper dumper; diff --git a/test-code/dumptest.pro b/test-code/dumptest.pro index d196cda..f3ba27e 100644 --- a/test-code/dumptest.pro +++ b/test-code/dumptest.pro @@ -7,6 +7,7 @@ UI_DIR = objects  RCC_DIR = objects  INCLUDEPATH += ../src +DEFINES += REMOVE_DUMP  TARGET = dumptest  macx {    CONFIG -= app_bundle  | 
