We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efe1f32 commit 3a4751dCopy full SHA for 3a4751d
run_cperf
@@ -104,7 +104,14 @@ def main():
104
105
def get_sandbox_profile_flags():
106
sandbox_flags = []
107
- sscss = "../../../workspace-private/swift-source-compat-suite-sandbox"
+ if 'WORKSPACE' not in os.environ:
108
+ raise RuntimeError("Missing $WORKSPACE when looking for sandbox")
109
+ if 'JOB_NAME' not in os.environ:
110
+ raise RuntimeError("Missing $JOB_NAME when looking for sandbox")
111
+ workspace = os.environ['WORKSPACE']
112
+ job_name = os.environ['JOB_NAME']
113
+ sscss = os.path.join(workspace, "../../workspace-private",
114
+ job_name, "swift-source-compat-suite-sandbox")
115
if not os.path.exists(sscss):
116
raise RuntimeError("Missing sandbox dir %s" % sscss)
117
0 commit comments