Armin Rigo  committed 1f49770

Only ignore mismatches between *different* types; using twice the same type must be tested to work.

  • Participants
  • Parent commits 3c66c29
  • Branches default

Comments (0)

Files changed (1)

File testing/

         ffi.verify("struct foo_s { %s x; };" % real)
     except VerificationError:
         if not expect_mismatch:
-            if testing_by_size:
+            if testing_by_size and typename != real:
                 print("ignoring mismatch between %s* and %s* even though "
                       "they have the same size" % (typename, real))