Re: [AD] tests on OS X (was Re: SF.net SVN: alleg:[15387] allegro/branches/5.1/src/opengl)

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sun, 26 Feb 2012 00:33:12 +0100, Elias Pschernig <elias.pschernig@xxxxxxxxxx> wrote:
> On Sun, 26 Feb 2012 09:52:10 +1100
> Peter Wang <novalazy@xxxxxxxxxx> wrote:
> 
> > 
> > Note that the call to al_draw_pieslice has thickness 0.
> > We can tweak the parameters to get the same result across platforms
> > if necessary.
> > 
> 
> Ah, in that case it's expected to have missing pixels and yes, we
> should just change the test.

Well, it *is* a circle, and there are no gaps in the other three
quadrants.  No big deal, though.

Can you adjust the following?

Peter

diff --git a/tests/test_prim.ini b/tests/test_prim.ini
index bd6fd01..abb1172 100644
--- a/tests/test_prim.ini
+++ b/tests/test_prim.ini
@@ -279,13 +279,17 @@ sig=0000000000000Ca000000EgW00000bBgSK0000TWPYa0000NMgEX00000gbX000000MM00000000
 
 [test pieslice]
 # 5.1 additions scheduled to be backported to 5.0.6
+op0=al_draw_pieslice(160, 240, 100, 1.0, 5.0, blue, 10)
+op1=al_draw_pieslice(160, 240, 100, 1.0, 5.0, yellow, 0)
+hash=fee39420
+
+[test filled pieslice]
+# 5.1 additions scheduled to be backported to 5.0.6
 op0=al_set_blender(ALLEGRO_ADD, ALLEGRO_ALPHA, ALLEGRO_INVERSE_ALPHA)
-op1=al_draw_pieslice(160, 240, 100, 1.0, 6.0, blue, 10)
-op2=al_draw_pieslice(160, 240, 100, 1.0, 6.0, yellow, 0)
-op3=al_draw_filled_pieslice(480, 240, 200, 1.0, 1.5, #aa333388)
-op4=al_draw_filled_pieslice(480, 240, 200, 2.0, 1.5, #33aa3399)
-op5=al_draw_filled_pieslice(480, 240, 200, 3.0, 1.5, #3333aa88)
-hash=8b965445
+op1=al_draw_filled_pieslice(480, 240, 200, 1.0, 1.5, #aa333388)
+op2=al_draw_filled_pieslice(480, 240, 200, 2.0, 1.5, #33aa3399)
+op3=al_draw_filled_pieslice(480, 240, 200, 3.0, 1.5, #3333aa88)
+hash=feac014d
 
 [test elliptical arc]
 # 5.1 addition scheduled to be backported to 5.0.6





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/