Fix common test framework options
[oweals/openssl.git] / test / params_conversion_test.c
index d6490833a9775257b4c8f5ba0fe40cc9e335e9ce..838eefa2123cc97326e91d76bb37485584287f37 100644 (file)
@@ -328,8 +328,14 @@ OPT_TEST_DECLARE_USAGE("file...\n")
 
 int setup_tests(void)
 {
-    size_t n = test_get_argument_count();
+    size_t n;
 
+    if (!test_skip_common_options()) {
+        TEST_error("Error parsing test options\n");
+        return 0;
+    }
+
+    n = test_get_argument_count();
     if (n == 0)
         return 0;