Hi Robert,
Here's the results of some individual tests. Looks like they all have a problem with screen pixels not equaling expected pixel values.
I'm running ubuntu 12.04 with lts-saucy as a VM with VMWare. Options to cogl configure
--enable-debug=yes --enable-gl=no --enable-gles1=no --enable-gles2=yes. This problem does not occur if --enable-gl=yes is used and the gles options are set to "no".
Is this a graphics driver issue?
Thanks,
Reza
test-primitive:
Error:test-utils.c:241:test_utils_compare_pixel: assertion failed (screen_pixel_string == expected_pixel_string): ("#000000" == "#ff00ff")
Program received signal SIGABRT, Aborted.
0x00007ffff7272425 in __GI_raise (sig=<optimized out>)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) where
#0 0x00007ffff7272425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff7275b8b in __GI_abort () at abort.c:91
#2 0x00007ffff7b4cf6d in g_assertion_message () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff7b4d2bd in g_assertion_message_cmpstr () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00000000004070c9 in test_utils_compare_pixel ( screen_pixel=0x7fffffffded0 "", expected_pixel=4278255615) at test-utils.c:241
#5 0x0000000000407143 in test_utils_check_pixel (test_fb=0x74dcd0, x=2, y=2, expected_pixel=4278255615) at test-utils.c:259
#6 0x000000000041354f in test_paint (state=0x7fffffffdf50) at test-primitive.c:200
#7 0x0000000000413b33 in test_primitive () at test-primitive.c:329
#8 0x0000000000407ad5 in main (argc=2, argv=0x7fffffffe078) at test-conform-main.c:91
(gdb) list test-utils.c:241
236 char *screen_pixel_string =
237 g_strdup_printf ("#%06x", screen_pixel_num >> 8);
238 char *expected_pixel_string =
239 g_strdup_printf ("#%06x", expected_pixel >> 8);
240
241 g_assert_cmpstr (screen_pixel_string, ==, expected_pixel_string);
242
243 g_free (screen_pixel_string);
244 g_free (expected_pixel_string);
245 }
test-path:
ERROR:test-path.c:60:check_block: assertion failed (screen_pixel == intended_pixel): ("#000000" == "#ffffff")
Program received signal SIGABRT, Aborted.
0x00007ffff7272425 in __GI_raise (sig=<optimized out>)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) where
#0 0x00007ffff7272425 in __GI_raise (sig=<optimized out>)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff7275b8b in __GI_abort () at abort.c:91
#2 0x00007ffff7b4cf6d in g_assertion_message () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff7b4d2bd in g_assertion_message_cmpstr ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x000000000040c713 in check_block (block_x=0, block_y=0, block_mask=8) at test-path.c:60
#5 0x000000000040cc7b in validate_result () at test-path.c:184
#6 0x000000000040cdcf in test_path () at test-path.c:211
#7 0x00000000004074ac in main (argc=2, argv=0x7fffffffe088) at test-conform-main.c:59
test-point-sprite
ERROR:test-utils.c:241:test_utils_compare_pixel: assertion failed (screen_pixel_string == expected_pixel_string): ("#ffffff" == "#0000ff")
#0 0x00007ffff7272425 in __GI_raise (sig=<optimized out>)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff7275b8b in __GI_abort () at abort.c:91
#2 0x00007ffff7b4cf6d in g_assertion_message () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff7b4d2bd in g_assertion_message_cmpstr ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00000000004070c9 in test_utils_compare_pixel (
screen_pixel=0x85f050 "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\240", expected_pixel=65535)
at test-utils.c:241
#5 0x000000000040722b in test_utils_check_region (test_fb=0x74dcd0, x=0, y=0, width=6,
height=6, expected_rgba=65535) at test-utils.c:290
#6 0x0000000000415ecd in do_test (check_orientation=0) at test-point-sprite.c:136
#7 0x0000000000415ef5 in test_point_sprite () at test-point-sprite.c:149
#8 0x0000000000407dc0 in main (argc=2, argv=0x7fffffffe078) at test-conform-main.c:106