Quellcode durchsuchen

18938 No more results on main branches

From now on, results that matter (read: round/preview output) will be stored
on branches with the appropriate names. For round 8, the branches will be called:

round8-i7-linux
round8-i7-win
round8-ec2-linux
etc

These rounds can end up having multiple commits and the results may change from
run to run
Mike Smith vor 11 Jahren
Ursprung
Commit
350812b5d4

+ 1 - 1
play-scala-mongodb/benchmark_config

@@ -1,7 +1,7 @@
 {
   "framework": "play-scala-mongodb",
   "tests": [{
-    "mongodb": {
+    "default": {
       "setup_file": "setup",
       "db_url": "/db",
       "query_url": "/db?queries=",

+ 2 - 2
toolset/benchmark/benchmarker.py

@@ -443,10 +443,10 @@ class Benchmarker:
   ############################################################
   def __run_test(self, test):
     try:
-      os.makedirs(os.path.join(self.latest_results_directory, 'logs', test.name))
+      os.makedirs(os.path.join(self.latest_results_directory, 'logs'))
     except:
       pass
-    with open(os.path.join(self.latest_results_directory, 'logs', test.name, "out.log"), 'w') as out:
+    with open(os.path.join(self.latest_results_directory, 'logs', "{name}.log".format(name=test.name)), 'w') as out:
       # If the user specified which tests to run, then 
       # we can skip over tests that are not in that list
       if self.test != None and test.name not in self.test:

+ 3 - 0
toolset/benchmark/framework_test.py

@@ -536,6 +536,9 @@ class FrameworkTest:
     # the first curl invocation.
     subprocess.check_output(["curl", "-fsS", url], stderr=out)
     out.flush()
+    # HTTP output may not end in a newline, so add that here.
+    out.write( "\n" )
+    out.flush()
   ##############################################################
   # End __curl_url
   ##############################################################