]> git.sesse.net Git - movit/commitdiff
Turn off .dot and .frag file generation during unit tests.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 19 Jan 2014 17:41:21 +0000 (18:41 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 19 Jan 2014 17:41:21 +0000 (18:41 +0100)
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.

test_util.cpp

index 33a6916e09f2c54ae2ad10c86ff91fb569c48a2c..eaa5fc6809dc0f131dd0342b86efe8a44e4a40ce 100644 (file)
@@ -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);