Re: [Gnash-dev] Trying to run the tests

2006-12-14 Thread Rob Savoye
strk wrote:

 Well, a quick suggestion for you is to get Ming :)
 Another possibility is to grab a release snapshot, but I'm afraid
 we're not currently providing them. I suggest we do though...
 a nightly snapshot in release mode would likely be helpful.

  I think for now, it's better off if people wanting to test Gnash use
CVS, as it changes daily. :-) I don't really want to get into the mess
of supporting CVS snapshot builds at this time as we're all busy enough
as it is...

  I also don't think we want to distribute test cases in a release, it's
probably better that people use the online versions on the developers
site, as one of these days we'll hook it up to automatically log all the
results into a database.

- rob -


___
Gnash-dev mailing list
Gnash-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-dev


Re: [Gnash-dev] Trying to run the tests

2006-12-12 Thread strk
On Mon, Dec 11, 2006 at 10:29:02PM +0100, ann wrote:
 Hi Sandro,
 
 As you requested, I tried to go through 'Running the tests'.  First I had
 a few problems with getting Gnash to compile (automatically finding the
 include libraries wasn't going well), but then I was able to use 'gmake
 check', which gives me the results which appear at the end of the message.
 
 It looks like it wants ming.h.  I only installed the dejagnu port, because
 earlier it says that Ming is required for the test generator, not the test
 runner.  Did I misunderstand, or is the documentation incorrect?

Eh.. hard to say... needs some discussion I think.
One option is that we require Ming for CVS and not for a release.
In any case Ming should *not* be a requirement for *building* gnash itself,
just to run *some* testcases.

Where Ming is not found, *some* testcases (those not requiring
Ming) could run anyway, but this is debatable, as would bring to different
results on different hosts. BTW, a fix in Ming for 'asm' blocks compiling
introduces another possible test output difference as we might be running
tests requiring 'asm' build only on hosts with a recent-enough Ming release.

 Dejagnu.c:29:18: ming.h: No such file or directory

I'm sure we want Dejagnu.swf distributed in a release, as it might be useful
for anyone willing to provide testcases compiled with other compilers.
Dejagnu.c is the source that generates Dejagnu.swf using Ming...

All subsequent errors are due to the fact you don't have Ming installed.

Well, a quick suggestion for you is to get Ming :)
Another possibility is to grab a release snapshot, but I'm afraid
we're not currently providing them. I suggest we do though...
a nightly snapshot in release mode would likely be helpful.

--strk;


___
Gnash-dev mailing list
Gnash-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-dev


Re: [Gnash-dev] Trying to run the tests

2006-12-12 Thread ann
On Tue, 12 Dec 2006, strk wrote:

Well, a quick suggestion for you is to get Ming :)
The thought did occur to me, but I wanted to try following what was
written in the documentation, with a minimal install, to see if there
were some assumptions which weren't stated.

Anyhow, I'll come on IRC earlier tomorrow, and maybe you can spare
some time to discuss this with me, and walk me through it a bit?

Another possibility is to grab a release snapshot, but I'm afraid
we're not currently providing them. I suggest we do though...
a nightly snapshot in release mode would likely be helpful.
I agree, it's a nice thing to offer.

- Ann


___
Gnash-dev mailing list
Gnash-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-dev


[Gnash-dev] Trying to run the tests

2006-12-11 Thread ann
Hi Sandro,

As you requested, I tried to go through 'Running the tests'.  First I had
a few problems with getting Gnash to compile (automatically finding the
include libraries wasn't going well), but then I was able to use 'gmake
check', which gives me the results which appear at the end of the message.

It looks like it wants ming.h.  I only installed the dejagnu port, because
earlier it says that Ming is required for the test generator, not the test
runner.  Did I misunderstand, or is the documentation incorrect?

FreeBSD god 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:42:56 UTC 2006
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

I include the results without -v and -a; let me know if you want them.

gmake[3]: Entering directory `/usr/home/ann/gnash/src/testsuite/misc-ming.all'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -march=athlon-xp -W 
-Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type
 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes  
-MT Dejagnu.o -MD -MP -MF .deps/Dejagnu.Tpo -c -o Dejagnu.o Dejagnu.c; \
then mv -f .deps/Dejagnu.Tpo .deps/Dejagnu.Po; else rm -f 
.deps/Dejagnu.Tpo; exit 1; fi
Dejagnu.c:29:18: ming.h: No such file or directory
In file included from Dejagnu.c:31:
ming_utils.h:32: error: syntax error before get_default_font
ming_utils.h:32: warning: type defaults to `int' in declaration of 
`get_default_font'
ming_utils.h:32: warning: data definition has no type or storage class
ming_utils.h:44: error: syntax error before mo
ming_utils.h:44: warning: function declaration isn't a prototype
ming_utils.h:69: error: syntax error before get_dejagnu_clip
ming_utils.h:69: error: syntax error before font
ming_utils.h:69: warning: type defaults to `int' in declaration of 
`get_dejagnu_clip'
ming_utils.h:69: warning: function declaration isn't a prototype
ming_utils.h:69: warning: data definition has no type or storage class
ming_utils.h:84: error: syntax error before mo
ming_utils.h:84: warning: function declaration isn't a prototype
ming_utils.h:103: error: syntax error before mo
ming_utils.h:103: warning: function declaration isn't a prototype
ming_utils.h:112: error: syntax error before mo
ming_utils.h:112: warning: function declaration isn't a prototype
ming_utils.h:123: error: syntax error before mo
ming_utils.h:123: warning: function declaration isn't a prototype
ming_utils.h:134: error: syntax error before mc
ming_utils.h:134: warning: function declaration isn't a prototype
ming_utils.h:140: error: syntax error before make_square
ming_utils.h:140: error: syntax error before byte
ming_utils.h:140: warning: type defaults to `int' in declaration of 
`make_square'
ming_utils.h:140: warning: function declaration isn't a prototype
ming_utils.h:140: warning: data definition has no type or storage class
ming_utils.h:145: error: syntax error before make_fill_square
ming_utils.h:145: error: syntax error before byte
ming_utils.h:145: warning: type defaults to `int' in declaration of 
`make_fill_square'
ming_utils.h:145: warning: function declaration isn't a prototype
ming_utils.h:145: warning: data definition has no type or storage class
Dejagnu.c: In function `main':
Dejagnu.c:39: error: syntax error before mo
Dejagnu.c:42: error: syntax error before bfont
Dejagnu.c:60: warning: implicit declaration of function `Ming_init'
Dejagnu.c:61: warning: implicit declaration of function `Ming_useSWFVersion'
Dejagnu.c:62: warning: implicit declaration of function `Ming_setScale'
Dejagnu.c:64: error: `mo' undeclared (first use in this function)
Dejagnu.c:64: error: (Each undeclared identifier is reported only once
Dejagnu.c:64: error: for each function it appears in.)
Dejagnu.c:64: warning: implicit declaration of function `newSWFMovie'
Dejagnu.c:65: warning: implicit declaration of function `SWFMovie_setRate'
Dejagnu.c:66: warning: implicit declaration of function `SWFMovie_setDimension'
Dejagnu.c:68: error: `bfont' undeclared (first use in this function)
Dejagnu.c:76: error: `dejaclip' undeclared (first use in this function)
Dejagnu.c:76: error: `SWFBlock' undeclared (first use in this function)
Dejagnu.c:76: error: syntax error before bfont
Dejagnu.c:78: warning: implicit declaration of function `SWFMovie_add'
Dejagnu.c:78: error: syntax error before dejaclip
Dejagnu.c:79: warning: implicit declaration of function `SWFMovie_addExport'
Dejagnu.c:79: error: syntax error before dejaclip
Dejagnu.c:81: warning: implicit declaration of function `SWFMovie_nextFrame'
Dejagnu.c:92: warning: implicit declaration of function `SWFMovie_save'
gmake[3]: *** [Dejagnu.o] Error 1
gmake[3]: Leaving directory `/usr/home/ann/gnash/src/testsuite/misc-ming.all'
gmake[2]: *** [Dejagnu.swf] Error 2
gmake[2]: Leaving directory `/usr/home/ann/gnash/src/testsuite'
gmake[1]: *** [check-am] Error 2
gmake[1]: Leaving directory `/usr/home/ann/gnash/src/testsuite'
gmake: *** [check-recursive] Error 1