Browse Source

Scruffy replies on SBT

Also, removed sleeps from start functions - never do this.
msmith-techempower 10 years ago
parent
commit
e0a154c679

+ 0 - 1
frameworks/Scala/plain/setup.py

@@ -12,7 +12,6 @@ def start(args, logfile, errfile):
     subprocess.check_call("./sbt assembly && rm -rf target/scala-2.10/cache", shell=True, cwd="plain", stderr=errfile, stdout=logfile)
 
   subprocess.Popen("java -jar target/scala-2.10/plain-benchmark-assembly-1.0.1.jar", cwd="plain", shell=True, stderr=errfile, stdout=logfile)
-  time.sleep(10)
   return 0
 
 def stop(logfile, errfile):

+ 1 - 1
frameworks/Scala/scruffy/install.sh

@@ -1,3 +1,3 @@
 #!/bin/bash
 
-fw_depends java
+fw_depends java sbt

+ 0 - 1
frameworks/Scala/scruffy/setup.py

@@ -16,7 +16,6 @@ def start(args, logfile, errfile):
                     shell=True,
                     stderr=errfile,
                     stdout=logfile)
-  time.sleep(5)
   return 0
 
 def stop(logfile, errfile):