Skip to content

Commit b01162f

Browse files
committed
try using apple test for runtime tests
1 parent 25c85fe commit b01162f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/build.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@
385385
string value = item.ItemSpec;
386386
387387
// Add the MONO_APPLE_APP_ENTRY_POINT_LIB_NAME and MONO_APPLE_APP_ASSEMBLY_LOAD_PREFIX environment parameters to the run script
388-
string output = lastLine.Replace("apple test", "apple run").Replace("--signal-app-end", $"--expected-exit-code=100 --set-env=MONO_APPLE_APP_ENTRY_POINT_LIB_NAME={value} --set-env=MONO_APPLE_APP_ASSEMBLY_LOAD_PREFIX={value.Split('/')[0]}") + "&& echo \"Test passed\" || { echo \"Test failed\"; exit 1; }";
388+
string output = lastLine + $"--set-env=MONO_APPLE_APP_ENTRY_POINT_LIB_NAME={value} --set-env=MONO_APPLE_APP_ASSEMBLY_LOAD_PREFIX={value.Split('/')[0]} --" + "&& echo \"Test passed\" || { echo \"Test failed\"; exit 1; }";
389389
resultBuilder.AppendLine(output);
390390
391391
// Rename the log file to match the MONO_APPLE_APP_ENTRY_POINT_LIB_NAME

0 commit comments

Comments
 (0)