Closed Bug 682201 Opened 13 years ago Closed 13 years ago

Android reftests are disabled for BMP, ICO decoder and encoder

Categories

(Core :: Graphics: ImageLib, defect)

All
Android
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 753639
mozilla15

People

(Reporter: bbondy, Assigned: bbondy)

References

Details

(Whiteboard: [android][tegra][mobile_unittests])

Attachments

(1 file)

The reftests for BMP and ICO encoders and decoders (all recently added) are not working on Android so skip Android was added. This task is to re-enable them and fix anything that doesn't work on Android for these reftests.
Whenever I see a test sticking in a Tegra's craw, I think to myself "I should cc jmaher on this bug!"
OS: Windows 7 → Android
Hardware: x86_64 → All
oh, thanks for disabling them and filing a bug.
Whiteboard: [android][tegra][mobile_unittests]
Running patch which removes the if-android-check through try now in case the problem was just Bug 682568's decodeondraw = true. http://tbpl.allizom.org/?tree=Try&usebuildbot=1&rev=c79ed4256163
The problem is with one of the corrupted BMP bitmaps. The corrupted image should show the background color but instead it shows nothing. I think I'll have to setup an Android dev environment to fix. The strange thing is the reftest for this corrupted bitmap passes: // have valid BPP values before adding the frame if (mBIH.compression == BI_RLE8 && mBIH.bpp != 8) { PR_LOG(gBMPLog, PR_LOG_DEBUG, ("BMP RLE8 compression only supports 8 bits per pixel\n")); PostDataError(); return; } But the reftest for this corrupted bitmap fails (which follows directly in the code): if (mBIH.compression == BI_RLE4 && mBIH.bpp != 4) { PR_LOG(gBMPLog, PR_LOG_DEBUG, ("BMP RLE4 compression only supports 4 bits per pixel\n")); PostDataError(); return; }
Comment on attachment 556616 [details] [diff] [review] Patch that re-enables android reftests Review of attachment 556616 [details] [diff] [review]: ----------------------------------------------------------------- So I'm not sure which changeset fixed these tests but they are passing now as demonstrated on this recent push: https://tbpl.mozilla.org/?tree=Try&rev=016a845a547d
Attachment #556616 - Flags: review?(joe)
Attachment #556616 - Flags: review?(joe) → review+
Depends on: 753639
Now that we know it's actually an intermittent problem, I'll close this as a dupe of the new one and I'll backout the changeset from inbound.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: