From de6f3bec9c239249afce306382b9e6627dc942cb Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Sat, 25 Feb 2017 20:21:19 +0000 Subject: [PATCH] Stop running targeted tests repeatedly Previously, we would run them four times, despite always using the same backends and arguments. Change-Id: Iede8e9e9689cbaf85c66adce72cb78983afb084b --- test/liberasurecode_test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/liberasurecode_test.c b/test/liberasurecode_test.c index 4a1e7ba..52eac8a 100644 --- a/test/liberasurecode_test.c +++ b/test/liberasurecode_test.c @@ -2262,6 +2262,9 @@ int main(int argc, char **argv) continue; } if (testcases[ii].be_id == EC_BACKENDS_MAX) { + if (0 != i) { + continue; + } /* EC_BACKENDS_MAX basically designed for invalid args tests * and not takes the args so call the function w/o args here */ testcases[ii].function();