]> git.cworth.org Git - apitrace-tests/blobdiff - trim_stress_driver.py
trim: Update for --exact -> --auto
[apitrace-tests] / trim_stress_driver.py
index 5b10f146acfd025590cf5b6dc655200f205a50aa..64863f82f0ba2b24b252d7f3ee1daf190cdb4cba 100644 (file)
@@ -22,7 +22,7 @@
 # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 # SOFTWARE.
 
-'''Stress test driver for apitrace trimp.'''
+'''Stress test driver for apitrace trim.'''
 
 import os, errno, shutil, subprocess
 
@@ -68,7 +68,7 @@ class TrimStressDriver(Driver):
 
         for frame in range(frames):
             try:
-                subprocess.check_call([self.options.apitrace, "trim", "--frame=%d" % (frame), "--output=" + trim_file, trace_file])
+                subprocess.check_call([self.options.apitrace, "trim", "--auto", "--frame=%d" % (frame), "--output=" + trim_file, trace_file])
             except:
                 print "An error occurred while trimming frame %d from %s" % (frame, trace_file)
                 fail()