Changeset 175801 in webkit
- Timestamp:
- Nov 9, 2014 11:59:26 PM (9 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r175798 r175801 1 2014-11-10 Akos Kiss <akiss@inf.u-szeged.hu> 2 3 Fix the exception fuzz helper to generate targets in the correct range 4 https://bugs.webkit.org/show_bug.cgi?id=138544 5 6 Reviewed by Filip Pizlo. 7 8 Currently, the script generates exception fuzz targets in the range of 9 0..($checkCount-1). However, target 0 is never hit, while target 1 is 10 always outside of the outermost try block of the tests, which therefore 11 prints unexpected output and results in false failures when fired at. 12 Additionally, target $checkCount is never generated. 13 14 This patch fixes the script to generate targets in the range of 15 2..$checkCount. 16 17 * Scripts/jsc-stress-test-helpers/js-exception-fuzz: 18 1 19 2014-11-09 Csaba Osztrogonác <ossy@webkit.org> 2 20 -
trunk/Tools/Scripts/jsc-stress-test-helpers/js-exception-fuzz
r171350 r175801 101 101 102 102 for (my $iteration = 0; $iteration < $repeat; ++$iteration) { 103 my $target = int(rand() * $checkCount);103 my $target = int(rand() * ($checkCount - 1)) + 2; 104 104 if ($verbose) { 105 105 print "iteration($iteration) target($target): Running.\n";
Note: See TracChangeset
for help on using the changeset viewer.