summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-05-10 20:37:55 +0000
committerGerrit Code Review <review@openstack.org>2017-05-10 20:37:55 +0000
commitde984f59e7a6cca8c1f3cf1d93b87ff144a2b974 (patch)
treea22ecb49d0de7fae6e5d361f1d2b790fb83398d8 /test
parenta17e50fd34c9f7865dc30c20700df5715c05f24a (diff)
parentde6f3bec9c239249afce306382b9e6627dc942cb (diff)
downloadliberasurecode-de984f59e7a6cca8c1f3cf1d93b87ff144a2b974.tar.gz
Merge "Stop running targeted tests repeatedly"
Diffstat (limited to 'test')
-rw-r--r--test/liberasurecode_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/liberasurecode_test.c b/test/liberasurecode_test.c
index 3f409c3..4791ca9 100644
--- a/test/liberasurecode_test.c
+++ b/test/liberasurecode_test.c
@@ -2365,6 +2365,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();