瀏覽代碼

Create the keys directory and fetch the keys before every run

Ian Goldberg 1 年之前
父節點
當前提交
6326b812ad
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      run_experiments.py

+ 6 - 0
run_experiments.py

@@ -119,6 +119,12 @@ if __name__ == "__main__":
                     # Server outputs are captured by log files provided to each of the server
                     # launch calls made by App/launch
                     make = subprocess.call(["make", "-C", "..", "-j"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
+                    try:
+                        os.mkdir("keys")
+                    except:
+                        # It's OK if it already exists
+                        pass
+                    pubkeys = subprocess.call(["./getpubkeys"])
                     server_process = subprocess.run(slaunch)
 
                     claunch = []