GNOME Bugzilla – Bug 138512
intltool: "make check" fails
Last modified: 2004-12-22 21:47:04 UTC
I got the following output of "make check": <-- snip --> 1. Extract messages from simple desktop file: [OK] 2. Merge translations into a Bonobo UI style file: [OK] 3. Extract messages from a multi-line XML file: [OK] 4. Merge translations into a multi-line XML file: [OK] 5. Extract messages with unusual characters in the XML tag: [OK] 6. Merge translations into a pong style XML file: [OK] 7. Extract messages from a glade style XML file: [OK] 8. Merge translations into a dia sheet style XML file: [OK] 9. Merge translations into a dia sheet style XML file [broken XML]: [OK] 10. Merge translations that include escaped .po strings: [FAILED] (merge6.xml) 11. Merge translations into a .keys file: [OK] 12. Extract messages from a glade 2.0 style XML file: [OK] 13. Extract messages from an rfc822 style file: [OK] 14. Merge translations into an rfc822 style file: [OK] 15. Extract messages from a gconf schema style file: [OK] 16. Merge translations into a gconf schema style file: [OK] 17. Extract messages from a xml file using the xml:space attribute: [OK] 18. Merge translations into multiple files: [FAILED] (merge6.xml) FAIL: selftest =================== 1 of 1 tests failed =================== <-- snip -->
intlttool-0.30 downloaded from gnome-2.6 source directory on 31 mar 2004. Running self test of the intltool module 1. Extract messages from simple desktop file: [OK] 2. Merge translations into a Bonobo UI style file: [OK] 3. Extract messages from a multi-line XML file: [OK] 4. Merge translations into a multi-line XML file: [OK] 5. Extract messages with unusual characters in the XML tag: [OK] 6. Merge translations into a pong style XML file: [OK] 7. Extract messages from a glade style XML file: [OK] 8. Merge translations into a dia sheet style XML file: [FAILED] (merge5u.sheet) 9. Merge translations into a dia sheet style XML file [broken XML]: [OK] 10. Merge translations that include escaped .po strings: [FAILED] (merge6.xml) 11. Merge translations into a .keys file: [OK] 12. Extract messages from a glade 2.0 style XML file: [OK] 13. Extract messages from an rfc822 style file: [OK] 14. Merge translations into an rfc822 style file: [OK] 15. Extract messages from a gconf schema style file: [OK] 16. Merge translations into a gconf schema style file: [OK] 17. Extract messages from a xml file using the xml:space attribute: [OK] 18. Merge translations into multiple files: [FAILED] (merge6.xml) FAIL: selftest =================== 1 of 1 tests failed ===================
This is awaiting some changed that need to be committed soon.
All but one test should be fine now (test 8). I'll attach a proposed patch (adding "-u" option to intltool-merge in selftest.pl.in, and correcting results/merge5p.sheet) to fix that as well.
Created attachment 28682 [details] [review] Fix test 8: merging translations into Dia-style XML file 2004-06-14 Danilo Šegan <dsegan@gmx.net> * tests/results/merge5p.sheet: Make it correct UTF-8. * tests/selftest.pl.in (check_merge_result): Use "-u" in test 8. Fixes bug #138512.
please commit
Comment on attachment 28682 [details] [review] Fix test 8: merging translations into Dia-style XML file Comitted to HEAD.
Reopening: I'll need to look into test 18 again, it seems to fail occasionally (it passes for me, which is why I closed the bug).
I've posted another patch for intltool-merge on bug 46650. As for the test itself, check_merge_results is not really suited for --multiple-output (at least so it seems, since it compares cases/merge6.xml with results/merge6.xml instead of comparing merge6/merge6.xml with results/merge6/merge6.xml -- the latter doesn't exist, the first is produced when running "intltool-merge -m"). I'll fix all that once the new patch in 46650 is committed.
I've created new tests for multiple-output merging. "make distcheck" and "make check" both pass for me now, so I'm closing the bug.