nashorn/test/script/basic/run-octane.js
changeset 24751 ccbd9cd3f720
parent 24749 1549c85f8200
child 24761 1b7863853fbc
equal deleted inserted replaced
24750:01ea334ab39a 24751:ccbd9cd3f720
   170 	    mean_score += scores[x];
   170 	    mean_score += scores[x];
   171 	    min_score = Math.min(min_score, scores[x]);
   171 	    min_score = Math.min(min_score, scores[x]);
   172 	    max_score = Math.max(max_score, scores[x]);
   172 	    max_score = Math.max(max_score, scores[x]);
   173 	}
   173 	}
   174 	mean_score /= iters;    
   174 	mean_score /= iters;    
   175 
       
   176     } catch (e) {
   175     } catch (e) {
   177 	print_always("*** Aborted and setting score to zero. Reason: " + e);
   176 	print_always("*** Aborted and setting score to zero. Reason: " + e);
   178 	if (e instanceof java.lang.Throwable) {
   177 	if (e instanceof java.lang.Throwable) {
   179 	    e.printStackTrace();
   178 	    e.printStackTrace();
   180 	}
   179 	}
   284 
   283 
   285 tests_found.sort();
   284 tests_found.sort();
   286 
   285 
   287 load(path + 'base.js');
   286 load(path + 'base.js');
   288 run_suite(tests_found, iters);
   287 run_suite(tests_found, iters);
   289 
       
   290 
       
   291