Re: [kvm-unit-tests PATCH 13/18] arm: Fail on unknown subtest
On 06/11/2015 01:24, Andrew Jones wrote: > From: Christopher Covington> > Signed-off-by: Christopher Covington > Reviewed-by: Andrew Jones > --- > arm/selftest.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arm/selftest.c b/arm/selftest.c > index fc9ec609d875e..f4a503079e464 100644 > --- a/arm/selftest.c > +++ b/arm/selftest.c > @@ -376,6 +376,9 @@ int main(int argc, char **argv) > cpumask_set_cpu(0, _reported); > while (!cpumask_full(_reported)) > cpu_relax(); > + } else { > + printf("Unknown subtest\n"); > + abort(); > } > > return report_summary(); > Applied, thanks. Paolo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[kvm-unit-tests PATCH 13/18] arm: Fail on unknown subtest
From: Christopher CovingtonSigned-off-by: Christopher Covington Reviewed-by: Andrew Jones --- arm/selftest.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arm/selftest.c b/arm/selftest.c index fc9ec609d875e..f4a503079e464 100644 --- a/arm/selftest.c +++ b/arm/selftest.c @@ -376,6 +376,9 @@ int main(int argc, char **argv) cpumask_set_cpu(0, _reported); while (!cpumask_full(_reported)) cpu_relax(); + } else { + printf("Unknown subtest\n"); + abort(); } return report_summary(); -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html