RESOLVED FIXED 133191
Eliminate n/total progress update from run-jsc-stress-tests output to file
https://bugs.webkit.org/show_bug.cgi?id=133191
Summary Eliminate n/total progress update from run-jsc-stress-tests output to file
Michael Saboff
Reported 2014-05-22 14:20:47 PDT
When running a run-jsc-stress-tests test, you will see n/total output updated as tests complete. For example 123/1302 This is implemented with printf "\r ${index}/${total}" The inclusion of the '\r' complicates logging to a file. We should eliminate this output when we aren't writing to a terminal.
Attachments
Patch (8.60 KB, patch)
2014-05-22 18:21 PDT, Michael Saboff
ggaren: review+
Michael Saboff
Comment 1 2014-05-22 18:21:53 PDT
Geoffrey Garen
Comment 2 2014-05-22 19:00:26 PDT
Comment on attachment 231929 [details] Patch r=me
Michael Saboff
Comment 3 2014-05-22 20:28:12 PDT
Csaba Osztrogonác
Comment 4 2014-05-22 22:43:05 PDT
(In reply to comment #3) > Committed r169241: <http://trac.webkit.org/changeset/169241> It broke the jsc-stress-tests on the EFL ARM testers: Tools/Scripts/run-jsc-stress-tests:1240:in `popen': can't convert Array into String (TypeError) from Tools/Scripts/run-jsc-stress-tests:1240:in `runAndMonitorTestRunnerCommand' from Tools/Scripts/run-jsc-stress-tests:1324:in `runMakeTestRunner' from Tools/Scripts/run-jsc-stress-tests:1321:in `chdir' from Tools/Scripts/run-jsc-stress-tests:1321:in `runMakeTestRunner' from Tools/Scripts/run-jsc-stress-tests:1210:in `runTestRunner' from Tools/Scripts/run-jsc-stress-tests:1382:in `runNormal' from Tools/Scripts/run-jsc-stress-tests:1412 ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] (Stock Ruby on Ubuntu 12.04)
Michael Saboff
Comment 5 2014-05-22 23:00:36 PDT
(In reply to comment #4) > (In reply to comment #3) > > Committed r169241: <http://trac.webkit.org/changeset/169241> > > It broke the jsc-stress-tests on the EFL ARM testers: > > Tools/Scripts/run-jsc-stress-tests:1240:in `popen': can't convert Array into String (TypeError) > from Tools/Scripts/run-jsc-stress-tests:1240:in `runAndMonitorTestRunnerCommand' > from Tools/Scripts/run-jsc-stress-tests:1324:in `runMakeTestRunner' > from Tools/Scripts/run-jsc-stress-tests:1321:in `chdir' > from Tools/Scripts/run-jsc-stress-tests:1321:in `runMakeTestRunner' > from Tools/Scripts/run-jsc-stress-tests:1210:in `runTestRunner' > from Tools/Scripts/run-jsc-stress-tests:1382:in `runNormal' > from Tools/Scripts/run-jsc-stress-tests:1412 > > ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] > (Stock Ruby on Ubuntu 12.04) The popen API works with Ruby 2.0. I'll make it work by converting the array to a string.
Michael Saboff
Comment 6 2014-05-23 11:07:50 PDT
Fix for regression landed in r169265: <http://trac.webkit.org/changeset/169265>
Csaba Osztrogonác
Comment 7 2014-05-27 03:03:52 PDT
(In reply to comment #6) > Fix for regression landed in r169265: <http://trac.webkit.org/changeset/169265> Thanks for the fix.
Note You need to log in before you can comment on or make changes to this bug.