diff options
| author | Bryce Harrington <b.harrington@samsung.com> | 2013-11-08 14:20:45 -0800 |
|---|---|---|
| committer | Bryce Harrington <b.harrington@samsung.com> | 2013-11-08 14:20:45 -0800 |
| commit | 26daa3b949f4d0cf6b370972afbc827aaf181ea7 (patch) | |
| tree | 88f498be6799356da001da88e1772962a3ce7efb /src/cairo-tests/image.cpp | |
| parent | d1b294eecc1bcc04524ac9dafde81e40334da530 (diff) | |
Make the test complexity a control variable
Diffstat (limited to 'src/cairo-tests/image.cpp')
| -rw-r--r-- | src/cairo-tests/image.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cairo-tests/image.cpp b/src/cairo-tests/image.cpp index bc8310b..05cc203 100644 --- a/src/cairo-tests/image.cpp +++ b/src/cairo-tests/image.cpp @@ -23,7 +23,9 @@ ca_teardown_image(void) int ca_test_image(caskbench_context_t* ctx) { - cairo_paint (ctx->cr); + int i; + for (i=0; i<ctx->size; i++) + cairo_paint (ctx->cr); return 1; } |