Revert "Revert "Refuse to load AOT images using unsupported SIMD instructions""
[mono.git] / mono / mini / TestDriver.cs
index bdcbcfdc8131598ca97d86a3fe1ac53deb3b4070..97f5520d3f709c70e91c5823c18432435d3f4ac4 100644 (file)
@@ -17,7 +17,7 @@ public class TestDriver {
 
        static public int RunTests (Type type, string[] args) {
                int failed = 0, ran = 0;
-               int result, expected, elen;
+               int result, expected;
                int i, j, iterations;
                string name;
                MethodInfo[] methods;
@@ -40,6 +40,7 @@ public class TestDriver {
                                        j += 2;
                                } else if ((args [j] == "-v") || (args [j] == "--verbose")) {
                                        verbose = true;
+                                       j += 1;
                                } else if (args [j] == "--exclude") {
                                        exclude [args [j + 1]] = args [j + 1];
                                        j += 2;