summaryrefslogtreecommitdiff
path: root/test/basic-copyarea.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/basic-copyarea.c')
-rw-r--r--test/basic-copyarea.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/basic-copyarea.c b/test/basic-copyarea.c
index 025b8848..8b64199d 100644
--- a/test/basic-copyarea.c
+++ b/test/basic-copyarea.c
@@ -282,13 +282,10 @@ int main(int argc, char **argv)
test_init(&test, argc, argv);
for (i = 0; i <= DEFAULT_ITERATIONS; i++) {
- int reps = 1 << i;
- int sets = 1 << (12 - i);
+ int reps = REPS(i);
+ int sets = SETS(i);
enum target t;
- if (sets < 2)
- sets = 2;
-
for (t = TARGET_FIRST; t <= TARGET_LAST; t++) {
pixel_tests(&test, reps, sets, t);
area_tests(&test, reps, sets, t);