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 33a6916..eaa5fc6 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);