gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog extensions/fileio/Makefile.am


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog extensions/fileio/Makefile.am
Date: Sun, 25 Feb 2007 15:40:01 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/02/25 15:40:01

Modified files:
        .              : ChangeLog 
        extensions/fileio: Makefile.am 

Log message:
                * extensions/fileio/Makefile.am: fix
                  'make check' and 'make dist' rules.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2455&r2=1.2456
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/fileio/Makefile.am?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2455
retrieving revision 1.2456
diff -u -b -r1.2455 -r1.2456
--- ChangeLog   25 Feb 2007 14:14:14 -0000      1.2455
+++ ChangeLog   25 Feb 2007 15:40:01 -0000      1.2456
@@ -1,5 +1,7 @@
 2007-02-25 Sandro Santilli <address@hidden>
 
+       * extensions/fileio/Makefile.am: fix
+         'make check' and 'make dist' rules.
        * server/asobj/LoadVars.cpp: implemented
          LoadVars.loaded property.
        * testsuite/actionscript.all/LoadVars.as:

Index: extensions/fileio/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/extensions/fileio/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- extensions/fileio/Makefile.am       13 Feb 2007 07:21:04 -0000      1.1
+++ extensions/fileio/Makefile.am       25 Feb 2007 15:40:01 -0000      1.2
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-AUTOMAKE_OPTIONS = 
+AUTOMAKE_OPTIONS = dejagnu
 
 # this is where Gnash plugins get installed
 pluginsdir = $(libdir)/gnash/plugins
@@ -46,11 +46,12 @@
 fileio_la_LIBDADD = $(LIBADD_DL) $(LIBLTDL) $(AM_LDFLAGS)
 
 
-check_PROGRAMS = test
+check_SCRIPTS = test
 CLEANFILES = \
        gnash-dbg.log \
        test.swf.frame0.pp \
        test.swf \
+       test \
        logfile
 
 install-pluginsLTLIBRARIES: $(plugins_LTLIBRARIES)
@@ -58,8 +59,9 @@
        $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) 
$(plugins_LTLIBRARIES) "$(DESTDIR)$(pluginsdir)/$(plugins_LTLIBRARIES)"
        $(RM) $(DESTDIR)$(pluginsdir)/*.a 
 
-test: test.swf
-       ../../utilities/gprocessor test.swf
+test: $(srcdir)/../../testsuite/generic-testrunner.sh test.swf
+       sh $< $(top_builddir) test.swf > $@
+       chmod +x $@
 
 test.swf: test.as
 
@@ -70,3 +72,26 @@
 SUFFIXES = as swf
 .as.swf: 
        $(MAKESWF) $(DEF_MAKESWF_FLAGS) $(MAKESWF_FLAGS) -o $@ $<
+
+TEST_DRIVERS = ../../testsuite/simple.exp
+TEST_CASES = \
+       $(check_SCRIPTS)
+
+site-update: site.exp
+       @rm -fr site.exp.bak
+       @cp site.exp site.exp.bak
+       @sed -e '/testcases/d' site.exp.bak > site.exp
+       @echo "# This is a list of the pre-compiled testcases" >> site.exp
+       @echo "set testcases \"$(TEST_CASES)\"" >> site.exp
+
+check-DEJAGNU: site-update $(TEST_CASES)
+       @runtest=$(RUNTEST); \
+       if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
+           $$runtest $(RUNTESTFLAGS) $(TEST_DRIVERS); \
+       else \
+         echo "WARNING: could not find \`runtest'" 1>&2; \
+          for i in "$(TEST_CASES)"; do \
+           $(SHELL) $$i; \
+         done; \
+       fi
+




reply via email to

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