From: Steinar H. Gunderson Date: Sun, 19 Jan 2014 17:41:21 +0000 (+0100) Subject: Turn off .dot and .frag file generation during unit tests. X-Git-Tag: 1.0~80 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=a9bd8dc1e30b82bc99a445f80df09488b4f9d1f4;ds=sidebyside Turn off .dot and .frag file generation during unit tests. Even though this is sometimes useful in the effect_chain_test, this makes the test suite literally five times as fast on my machine due to all the disk I/O. We can always turn it on again when debugging specific issues. --- diff --git a/test_util.cpp b/test_util.cpp index 33a6916..eaa5fc6 100644 --- a/test_util.cpp +++ b/test_util.cpp @@ -44,7 +44,7 @@ EffectChainTester::EffectChainTester(const float *data, unsigned width, unsigned GLenum framebuffer_format) : chain(width, height, get_static_pool()), width(width), height(height), finalized(false) { - init_movit(".", MOVIT_DEBUG_ON); + init_movit(".", MOVIT_DEBUG_OFF); if (data != NULL) { add_input(data, pixel_format, color_space, gamma_curve);