Преглед на файлове

Temporarily disabling the wrk installation check for further testing

tfb преди 11 години
родител
ревизия
1cbc74a882
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      toolset/benchmark/benchmarker.py

+ 3 - 3
toolset/benchmark/benchmarker.py

@@ -110,9 +110,9 @@ class Benchmarker:
     self.__setup_database()
     self.__setup_database()
     self.__setup_client()
     self.__setup_client()
 
 
-    # Check if wrk (and wrk-pipeline) is installed and executable, if not, raise an exception
-    if not (os.access("/usr/local/bin/wrk", os.X_OK) and os.access("/usr/local/bin/wrk-pipeline", os.X_OK)):
-      raise Exception("wrk and/or wrk-pipeline are not properly installed. Not running tests.")
+    ## Check if wrk (and wrk-pipeline) is installed and executable, if not, raise an exception
+    #if not (os.access("/usr/local/bin/wrk", os.X_OK) and os.access("/usr/local/bin/wrk-pipeline", os.X_OK)):
+    #  raise Exception("wrk and/or wrk-pipeline are not properly installed. Not running tests.")
 
 
     ##########################
     ##########################
     # Run tests
     # Run tests