[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/Makefile.am testsuite...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/Makefile.am testsuite... |
Date: |
Sat, 05 Jan 2008 10:46:43 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/01/05 10:46:43
Modified files:
. : ChangeLog
testsuite : Makefile.am gnashrc.in
testsuite/libbase: TCXXRc.cpp gnashrc.in
Log message:
Grant read-write access to SOL files under the testsuite directory on
make check.
Test SOLReadOnly directive.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5311&r2=1.5312
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/Makefile.am?cvsroot=gnash&r1=1.52&r2=1.53
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/gnashrc.in?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libbase/TCXXRc.cpp?cvsroot=gnash&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libbase/gnashrc.in?cvsroot=gnash&r1=1.13&r2=1.14
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5311
retrieving revision 1.5312
diff -u -b -r1.5311 -r1.5312
--- ChangeLog 5 Jan 2008 10:39:17 -0000 1.5311
+++ ChangeLog 5 Jan 2008 10:46:42 -0000 1.5312
@@ -1,7 +1,9 @@
2008-01-05 Sandro Santilli <address@hidden>
+ * testsuite/: Makefile.am, gnashrc.in: allow read-write access
+ to SOL under the testsuite directory.
* testsuite/libbase/: TCXXRc.cpp, gnashrc.in: test set SOLSafeDir
- directive.
+ and SOLReadOnly directives.
* testsuite/actionscript.all/SharedObject.as: fix the testcase's
expected result.
* server/asobj/ClassHierarchy.cpp: make NetConnection available
Index: testsuite/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/Makefile.am,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- testsuite/Makefile.am 26 Dec 2007 21:03:24 -0000 1.52
+++ testsuite/Makefile.am 5 Jan 2008 10:46:42 -0000 1.53
@@ -22,6 +22,7 @@
dist_noinst_SCRIPTS = anaylse-results.sh generic-testrunner.sh
abs_mediadir = `cd $(srcdir)/media; pwd`
+abs_tmpsodir = `cd tmpSharedObject; pwd`
# could not find a way to only build this on make check
check_LTLIBRARIES = libtestsuite.la
@@ -50,9 +51,11 @@
$(CAIRO_CFLAGS) \
$(NULL)
+tmpSharedObject:
+ mkdir tmpSharedObject
-gnashrc: gnashrc.in Makefile
- sed -e 's#@@MEDIADIR@@#'$(abs_mediadir)'#g' $< > $@
+gnashrc: gnashrc.in Makefile tmpSharedObject
+ sed -e 's#@@MEDIADIR@@#'$(abs_mediadir)'#g' -e
's#@@TMPSODIR@@#'$(abs_tmpsodir)'#g' $< > $@
if ENABLE_MING
Index: testsuite/gnashrc.in
===================================================================
RCS file: /sources/gnash/gnash/testsuite/gnashrc.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/gnashrc.in 20 Oct 2007 09:27:41 -0000 1.1
+++ testsuite/gnashrc.in 5 Jan 2008 10:46:43 -0000 1.2
@@ -1,4 +1,8 @@
# Allow load of resources in the MEDIA dir
append localSandboxPath @@MEDIADIR@@
+# Read/Write shared object to testsuite temp so dir
+set SOLSafeDir @@TMPSODIR@@
+set SOLReadOnly false
+
# TODO: enable extensions ?
Index: testsuite/libbase/TCXXRc.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libbase/TCXXRc.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- testsuite/libbase/TCXXRc.cpp 5 Jan 2008 10:39:17 -0000 1.24
+++ testsuite/libbase/TCXXRc.cpp 5 Jan 2008 10:46:43 -0000 1.25
@@ -281,5 +281,11 @@
} else {
runtest.fail ("getSOLSafeDir");
}
+
+ if (rc.getSOLReadOnly() == false) {
+ runtest.pass ("getSOLReadOnly");
+ } else {
+ runtest.fail ("getSOLReadOnly");
+ }
}
Index: testsuite/libbase/gnashrc.in
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libbase/gnashrc.in,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- testsuite/libbase/gnashrc.in 5 Jan 2008 10:39:17 -0000 1.13
+++ testsuite/libbase/gnashrc.in 5 Jan 2008 10:46:43 -0000 1.14
@@ -69,3 +69,6 @@
# Set SOLSafeDir to /tmp/SharedObjects
set SOLSafeDir /tmp/SharedObjects
+
+# Set read-only SharedObjects
+set SOLReadOnly true
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog testsuite/Makefile.am testsuite...,
Sandro Santilli <=