summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2017-02-25 20:21:19 +0000
committerTim Burke <tim.burke@gmail.com>2017-02-25 20:21:19 +0000
commitde6f3bec9c239249afce306382b9e6627dc942cb (patch)
tree387150152c2f3faef6353a11a8fd79741785c999
parent11244e449ffcfcc6fdbd37bc4320a94225161fef (diff)
Stop running targeted tests repeatedly
Previously, we would run them four times, despite always using the same backends and arguments. Change-Id: Iede8e9e9689cbaf85c66adce72cb78983afb084b
Notes
Notes (review): Code-Review+2: Kota Tsuyuzaki <tsuyuzaki.kota@lab.ntt.co.jp> Workflow+1: Timur Alperovich <timur.alperovich@gmail.com> Code-Review+2: Timur Alperovich <timur.alperovich@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 10 May 2017 20:37:55 +0000 Reviewed-on: https://review.openstack.org/438213 Project: openstack/liberasurecode Branch: refs/heads/master
-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 4a1e7ba..52eac8a 100644
--- a/test/liberasurecode_test.c
+++ b/test/liberasurecode_test.c
@@ -2262,6 +2262,9 @@ int main(int argc, char **argv)
2262 continue; 2262 continue;
2263 } 2263 }
2264 if (testcases[ii].be_id == EC_BACKENDS_MAX) { 2264 if (testcases[ii].be_id == EC_BACKENDS_MAX) {
2265 if (0 != i) {
2266 continue;
2267 }
2265 /* EC_BACKENDS_MAX basically designed for invalid args tests 2268 /* EC_BACKENDS_MAX basically designed for invalid args tests
2266 * and not takes the args so call the function w/o args here */ 2269 * and not takes the args so call the function w/o args here */
2267 testcases[ii].function(); 2270 testcases[ii].function();