gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] [patch] Try to solve 'make check' on Lenny (generate testsui


From: Petter Reinholdtsen
Subject: [Gnash-dev] [patch] Try to solve 'make check' on Lenny (generate testsuite/gnashrc)
Date: Thu, 20 Jan 2011 21:59:00 +0100
User-agent: Mutt/1.4.2.2i

I reported and looked into
<URL: https://savannah.gnu.org/bugs/index.php?32195 >, a testsuite
failure on Debian/Lenny.

The cause seem to be that missing suitable ming is causing
testsuite/gnashrc to be missing when the swfdec testsuite is running.
And this give unexpected results causing some tests to fail.

I suspect this patch might solve the issue, but am not sure if it is
the correct approach.

diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
index b35a965..b9dc3a4 100644
--- a/testsuite/Makefile.am
+++ b/testsuite/Makefile.am
@@ -144,6 +144,8 @@ tmpSharedObject:
 gnashrc: gnashrc.in Makefile tmpSharedObject
        sed -e 's#@@MEDIADIR@@#'$(abs_mediadir)'#g' -e 
's#@@TMPSODIR@@#'$(abs_tmpsodir)'#g' $(srcdir)/gnashrc.in > $@
 
+check-local:: gnashrc
+
 if ENABLE_MING
 
 .PHONY: Dejagnu.swf
@@ -151,7 +153,7 @@ Dejagnu.swf:
        $(MAKE) -C misc-ming.all $@
        cp misc-ming.all/Dejagnu.swf $@
 
-check-local: Dejagnu.swf gnashrc
+check-local:: Dejagnu.swf
 
 endif
 


Happy hacking,
-- 
Petter Reinholdtsen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]