mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-16 18:25:11 -06:00
significantly Modify the DEBUG and PINFO macros to return unless qof_log_check is true. Replace almost all direct calls to g_debug and g_message with DEBUG and PINFO respectively. Track the highest logging level sent to qof_log_set_level to provide a short-circuit return in qof_log_check. Remove setting GNC_MOD_TESTS to QOF_LOG_DEBUG so that the short-circuit threshold isn't defeated by always being DEBUG. Net result: 33% improvement in xml load times. |
||
---|---|---|
.. | ||
test-files | ||
CMakeLists.txt | ||
grab-types.pl | ||
README | ||
test-dom-converters1.cpp | ||
test-dom-parser1-1.xml | ||
test-dom-parser1.cpp | ||
test-file-stuff.cpp | ||
test-file-stuff.h | ||
test-kvp-frames.cpp | ||
test-load-backend.cpp | ||
test-load-example-account.cpp | ||
test-load-xml2.cpp | ||
test-real-data.sh | ||
test-save-in-lang.cpp | ||
test-string-converters.cpp | ||
test-xml2-is-file.cpp | ||
test-xml-account.cpp | ||
test-xml-commodity.cpp | ||
test-xml-pricedb.cpp | ||
test-xml-transaction.cpp |
These are tests of the file backend. TESTS: ------ test-dom-converters1.c: test each simple dom converter test-dom-parser1.c: unused now test-kvp-frames.c: test the kvp frame dom generators and parsers test-load-xml2.c: test the larger xml loading test-save-in-lang.c: incomplete test to test saving in different LANGs test-string-converters.c: test some string converters test-xml-account.c: test xml v2 converters and parsers for Account's test-xml-commodity.c: ditto gnc_commodity's test-xml-transaction.c: ditto Transaction's test-xml2-is-file.c: test the is_file function test-real-data.sh: run the test-xml-{account,commodity,transaction} programs on real data rather than random data