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)
downloadliberasurecode-de6f3bec9c239249afce306382b9e6627dc942cb.tar.gz
Stop running targeted tests repeatedly
Previously, we would run them four times, despite always using the same backends and arguments. Change-Id: Iede8e9e9689cbaf85c66adce72cb78983afb084b
-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)
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();