Stop running targeted tests repeatedly

Previously, we would run them four times, despite always using
the same backends and arguments.

Change-Id: Iede8e9e9689cbaf85c66adce72cb78983afb084b
This commit is contained in:
Tim Burke 2017-02-25 20:21:19 +00:00
parent 11244e449f
commit de6f3bec9c
1 changed files with 3 additions and 0 deletions

View File

@ -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();