Comment 11 for bug 1248753

Revision history for this message
David Mathog (mathog) wrote :

Attached script can be used for generic testing purposes, when a patch is not supposed to change anything. It can be used to pick up even single bit changes in the large and complex test file.

To use it first apply patches;

changes_2013_10_18b.patch from bug 12411797 (uemf header changes)
changes_2013_11_12b.patch from bug 1250250 (emf/wmf offset)
btool.patch from bug 1251405 (btool build issue, if on Windows)

obtain and build libUEMF from sourceforge (for the reademf and readwmf programs, and the test_libuemf_ref.[ew]mf files)

Modify testew.sh to match your system, run it.

These should differ only in the name field: diff test1_emf.txt test3_emf.txt

These should not differ at all: diff test1_wmf.txt test3_wmf.txt

Keep a copy of test1_emf.txt and test1_wmf.txt somewhere safe before making any changes, then compare these old
ones with the output of testew.sh.