[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/actionscript.all Random.as
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] gnash/testsuite/actionscript.all Random.as |
Date: |
Tue, 11 Dec 2007 12:55:14 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Benjamin Wolsey <bwy> 07/12/11 12:55:13
Modified files:
testsuite/actionscript.all: Random.as
Log message:
Only for versions 6 and below. I seem to be making an actionscript
error for versions 7 and 8.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Random.as?cvsroot=gnash&r1=1.2&r2=1.3
Patches:
Index: Random.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Random.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Random.as 11 Dec 2007 12:45:14 -0000 1.2
+++ Random.as 11 Dec 2007 12:55:13 -0000 1.3
@@ -30,6 +30,8 @@
#include "check.as"
+#if OUTPUT_VERSION <= 6
+
// Number of random numbers to generate.
var max = 1000;
@@ -142,3 +144,5 @@
/* End of tests */
check_totals(24);
totals();
+
+#endif // OUTPUT_VERSION <= 6