Broken gfxterm_menu tests
The gfxterm_menu functional tests fail for me:
gfxterm_menu:
tests/video_checksum.c:checksum:620: assert failed: 0 Checksum
gfxterm_ch_2560x1440xrgba8888:18 failed: 0xcc233c83 vs 0xa948d513
tests/video_checksum.c:checksum:620: assert failed: 0 Checksum
gfxterm_ch_2560x1440xrgba8888:17 failed: 0xcc233c83 vs 0xa948d513
tests/video_checksum.c:checksum:620: assert failed: 0 Checksum
gfxterm_ch_2560x1440xrgba8888:15 failed: 0x4facdedc vs 0xab22150c
tests/video_checksum.c:checksum:620: assert failed: 0 Checksum
gfxterm_ch_2560x1440xrgba8888:14 failed: 0x4facdedc vs 0xab22150c
tests/video_checksum.c:checksum:620: assert failed: 0 Checksum
gfxterm_ch_2560x1440xrgba8888:13 failed: 0x4facdedc vs 0xab22150c
tests/video_checksum.c:checksum:620: assert failed: 0 Checksum
gfxterm_ch_2560x1440xrgba8888:12 failed: 0x58950884 vs 0xbc1bc354
tests/video_checksum.c:checksum:620: assert failed: 0 Checksum
gfxterm_ch_2560x1440xrgba8888:11 failed: 0x58950884 vs 0xbc1bc354
tests/video_checksum.c:checksum:620: assert failed: 0 Checksum
gfxterm_ch_2560x1440xrgba8888:10 failed: 0x58950884 vs 0xbc1bc354
tests/video_checksum.c:checksum:620: assert failed: 0 Checksum
gfxterm_ch_2560x1440xrgba8888:9 failed: 0x8c5a6902 vs 0x68d4a2d2
tests/video_checksum.c:checksum:620: assert failed: 0 Checksum
gfxterm_ch_2560x1440xrgba8888:8 failed: 0x8c5a6902 vs 0x68d4a2d2
tests/video_checksum.c:checksum:620: assert failed: 0 Checksum
gfxterm_ch_2560x1440xrgba8888:7 failed: 0x8c5a6902 vs 0x68d4a2d2
tests/video_checksum.c:checksum:620: assert failed: 0 Checksum
gfxterm_ch_2560x1440xrgba8888:4 failed: 0xcc233c83 vs 0xa948d513
tests/video_checksum.c:checksum:620: assert failed: 0 Checksum
gfxterm_ch_2560x1440xrgba8888:3 failed: 0x9f8f359d vs 0xfae4dc0d
tests/video_checksum.c:checksum:620: assert failed: 0 Checksum
gfxterm_ch_2560x1440xrgba8888:2 failed: 0x93189e6 vs 0x27a05926
tests/video_checksum.c:checksum:620: assert failed: 0 Checksum
gfxterm_ch_2560x1440xrgba8888:1 failed: 0x9f8f359d vs 0xfae4dc0d
[lots more of the same]
Is this specific to my environment, or is it happening for everyone? In the latter case I guess the checksums ought to be updated.
Signature · 1 line
Colin Watson [[email protected]]
Quoted 4 lines
Is this specific to my environment, or is it happening for everyone? In the latter case I guess the checksums ought to be updated.
Judging by your other commits you don't have locales installed. The tests you point check for gettext among other things.
Quoted 6 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 2 lines · Colin Watson
Is this specific to my environment, or is it happening for everyone? In the latter case I guess the checksums ought to be updated.
Judging by your other commits you don't have locales installed. The tests you point check for gettext among other things.
I certainly have locales installed in general, but since I'm running from a clean git checkout I don't have po/*.po in place. Are you saying that that would cause this failure?
I think our tests should pass when run from a clean git checkout, without needing to fetch translations from an external source.
Signature · 1 line
Colin Watson [[email protected]]
Quoted 8 lines · Colin Watson
Quoted 6 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 2 lines · Colin Watson
Is this specific to my environment, or is it happening for everyone? In the latter case I guess the checksums ought to be updated.
Judging by your other commits you don't have locales installed. The tests you point check for gettext among other things.
Quoted 6 lines
I certainly have locales installed in general, but since I'm running from a clean git checkout I don't have po/*.po in place. Are you saying that that would cause this failure?
I think our tests should pass when run from a clean git checkout, without needing to fetch translations from an external source.
For the life of me I cannot get this to pass. I tried running ./linguas.sh first, and patching grub-shell to pass --locale-directory to grub-mkrescue so that it's definitely using the PO files from the source directory; no luck as yet. Any help would be greatly appreciated.
That said: I propose that we should occasionally run ./linguas.sh and commit the result to git. While these files are autogenerated from our point of view and our copies wouldn't be the furthest-upstream versions, they clearly aren't entirely machine-generated so I think it is reasonable to store them in revision control. This would have at least the following advantages:
* Our build processes would no longer be vulnerable to an external server potentially going down for an extended period of time; we'd be stuck with outdated translations until somebody fixed it or came up with a workaround, of course, but that usually isn't fatal.
* It would be easier to manage branches of stable releases, rather than assuming that translations downloaded for trunk will match the POT files for a stable release.
* Tests would be able to pass from a clean git checkout without relying on an external server, improving QA reliability.
* It would be easier to make and test branches while offline.
* The translations shipped with a release tarball could be tagged in git so that it's easy to investigate bugs in them.
* Downstream distributors would be able to use git branches without having to fill in additional files. (This has been a low-level annoyance for me for some time.)
What do you think?
Signature · 1 line
Colin Watson [[email protected]]
Quoted 44 lines · On Fri, 29 Nov 2013 14:53:06 +0000 Colin Watson <[email protected]> wrote:
Quoted 8 lines · Colin Watson
Quoted 6 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 2 lines · Colin Watson
Is this specific to my environment, or is it happening for everyone? In the latter case I guess the checksums ought to be updated.
Judging by your other commits you don't have locales installed. The tests you point check for gettext among other things.
Quoted 6 lines
I certainly have locales installed in general, but since I'm running from a clean git checkout I don't have po/*.po in place. Are you saying that that would cause this failure?
I think our tests should pass when run from a clean git checkout, without needing to fetch translations from an external source.
For the life of me I cannot get this to pass. I tried running ./linguas.sh first, and patching grub-shell to pass --locale-directory to grub-mkrescue so that it's definitely using the PO files from the source directory; no luck as yet. Any help would be greatly appreciated.
That said: I propose that we should occasionally run ./linguas.sh and commit the result to git. While these files are autogenerated from our point of view and our copies wouldn't be the furthest-upstream versions, they clearly aren't entirely machine-generated so I think it is reasonable to store them in revision control. This would have at least the following advantages:
* Our build processes would no longer be vulnerable to an external server potentially going down for an extended period of time; we'd be stuck with outdated translations until somebody fixed it or came up with a workaround, of course, but that usually isn't fatal.
* It would be easier to manage branches of stable releases, rather than assuming that translations downloaded for trunk will match the POT files for a stable release.
* Tests would be able to pass from a clean git checkout without relying on an external server, improving QA reliability.
* It would be easier to make and test branches while offline.
Quoted 8 lines
* The translations shipped with a release tarball could be tagged in git so that it's easy to investigate bugs in them.
* Downstream distributors would be able to use git branches without having to fill in additional files. (This has been a low-level annoyance for me for some time.)
What do you think?
Daniel, this all sounds eminently reasonable. The linguas.sh script should always try to update the po files and fallback to using the existing po files if that fails, which it already does. On release linguas.sh should be run to release with the most up-to-date version of the po files. Those updated po files should be committed as part of the release.
Sadly, Colin was not successful and neither has anyone else been since.
Glenn
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel