summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/coreclr/hosts/unixcorerun/corerun.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/coreclr/hosts/unixcorerun/corerun.cpp b/src/coreclr/hosts/unixcorerun/corerun.cpp
index 4e5c9d9839..5d245f7f42 100644
--- a/src/coreclr/hosts/unixcorerun/corerun.cpp
+++ b/src/coreclr/hosts/unixcorerun/corerun.cpp
@@ -61,12 +61,25 @@ bool ParseArguments(
DisplayUsage();
break;
}
+ // Now we use corerun to run corefx tests instead of dotnet, because last one isn't available for
+ // Tizen/armel. So we need to skip dotnet specific arguments, we patch corerun for it because
+ // Microsoft.DotNet.RemoteExecutor tries to execute binary that it gets from /proc/self/maps, so we
+ // need a binary that will behave like dotnet.
+ else if (strcmp(argv[i], "--runtimeconfig") == 0 || strcmp(argv[i], "--depsfile") == 0)
+ {
+ i++;
+ continue;
+ }
else
{
fprintf(stderr, "Unknown option %s\n", argv[i]);
break;
}
}
+ else if (strcmp(argv[i], "exec") == 0)
+ {
+ continue;
+ }
else
{
// First argument that is not an option is the managed assembly to execute