You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert.Equal(t, v, receivedAdditional[k], "Expected cache flag %s to be present", k)
183
+
} else {
184
+
assert.NotContains(t, receivedAdditional, k, "Did not expect cache flag %s", k)
185
+
}
186
+
}
187
+
iftc.buildCacheEnabled {
188
+
assert.Equal(t, "/tmp/proxy.sock", receivedAdditional["COMPILATION_CACHE_REMOTE_SERVICE_PATH"], "Proxy path should be set when build cache is enabled")
189
+
} else {
190
+
assert.NotContains(t, receivedAdditional, "COMPILATION_CACHE_REMOTE_SERVICE_PATH", "Proxy path should not be set when build cache is disabled")
191
+
}
192
+
})
193
+
}
194
+
})
195
+
196
+
t.Run("xcodebuildCmdFn sets diagnostic remarks only if debug flag is set", func(t*testing.T) {
assert.Equal(t, tc.expected, receivedAdditional["COMPILATION_CACHE_ENABLE_DIAGNOSTIC_REMARKS"], "Diagnostic remarks should be %s if debug is %v", tc.expected, tc.debugLogging)
0 commit comments