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/paint.cpp | |
| parent | d1b294eecc1bcc04524ac9dafde81e40334da530 (diff) | |
Make the test complexity a control variable
Diffstat (limited to 'src/cairo-tests/paint.cpp')
| -rw-r--r-- | src/cairo-tests/paint.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cairo-tests/paint.cpp b/src/cairo-tests/paint.cpp index 8f7a90e..131994c 100644 --- a/src/cairo-tests/paint.cpp +++ b/src/cairo-tests/paint.cpp @@ -18,7 +18,10 @@ ca_teardown_paint() int ca_test_paint(caskbench_context_t *ctx) { - randomize_color (ctx->cr); - cairo_paint (ctx->cr); + int i; + for (i=0; i<ctx->size; i++) { + randomize_color (ctx->cr); + cairo_paint (ctx->cr); + } return 1; } |