fixed bug in jpeg2000 decoding
[swftools.git] / lib / as3 / test
index c0da7a0..1100996 100755 (executable)
@@ -135,7 +135,7 @@ class Cache:
         self.runtime = 1
         if self.tag: 
             self.all = 1
-            self.runtime = 5 # allow more time if we're tagging this state
+            self.runtime = 3 # allow more time if we're tagging this state
         
         if self.valgrind:
             global CMD,CMD_ARGS
@@ -213,7 +213,7 @@ class TestBase:
         return 1
 
     def run(self):
-        ret,output = runcmd("flashplayer",["abc.swf"],wait=cache.runtime)
+        ret,output = runcmd("flashplayer",[os.path.join(os.getcwd(),"abc.swf")],wait=cache.runtime)
         os.system("killall flashplayer")
         self.flash_output = output