diff -r 1c54dc374fe4 -r 889ddb179cdf nashorn/test/script/basic/run-octane.js --- a/nashorn/test/script/basic/run-octane.js Tue Jan 29 14:25:39 2013 -0400 +++ b/nashorn/test/script/basic/run-octane.js Wed Jan 30 12:26:45 2013 +0100 @@ -65,11 +65,7 @@ function run_one_benchmark(arg, iters) { - load(path + 'base.js'); - load(arg); - var file_name; - var file = arg.split('/'); if (file.length == 1) { file = arg.split('\\'); @@ -80,9 +76,17 @@ file.pop(); } file_name = file[file.length - 1]; + + if (typeof compile_only !== 'undefined') { + print("Compiling... " + file_name); + } + + load(path + 'base.js'); + load(arg); if (typeof compile_only !== 'undefined') { print("Compiled OK: " + file_name); + print(""); return; }