Skip to content

Instantly share code, notes, and snippets.

@BenjaminPoulain
Created September 6, 2013 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BenjaminPoulain/6470403 to your computer and use it in GitHub Desktop.
Save BenjaminPoulain/6470403 to your computer and use it in GitHub Desktop.
Index: Tools/Scripts/run-jsc-stress-tests
===================================================================
--- Tools/Scripts/run-jsc-stress-tests (revision 155210)
+++ Tools/Scripts/run-jsc-stress-tests (working copy)
@@ -63,7 +63,8 @@
def run(kind, *options)
name = "#{$benchmark}.#{kind}"
print "#{name}: "
- if system($jscPath.to_s, *options, $benchmark)
+ joinedOptions = options.nil? ? "" : options.join(" ")
+ if system($jscPath.to_s, joinedOptions, $benchmark)
puts "OK."
else
puts "FAIL: #{$?.inspect}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment