summaryrefslogtreecommitdiff
path: root/test/basic-string.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/basic-string.c')
-rw-r--r--test/basic-string.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/basic-string.c b/test/basic-string.c
index 9f59c91d..1e24b291 100644
--- a/test/basic-string.c
+++ b/test/basic-string.c
@@ -86,13 +86,9 @@ 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), sets = SETS(i);
enum target t;
- if (sets < 2)
- sets = 2;
-
for (t = TARGET_FIRST; t <= TARGET_LAST; t++) {
string_tests(&test, reps, sets, t);
}