summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKonstantin Baladurin <k.baladurin@samsung.com>2019-10-04 16:45:44 (GMT)
committerGleb Balykov <g.balykov@samsung.com>2020-03-25 12:29:41 (GMT)
commit00aa747d9d392c0b202dedbebee26d15573d35dc (patch)
tree81efd2f3ada643e8b49b1107654abb25cbafd16e /src
parentadcbf6d8b676d209709c4523e293f11005c6d1aa (diff)
downloadcoreclr-00aa747d9d392c0b202dedbebee26d15573d35dc.zip
coreclr-00aa747d9d392c0b202dedbebee26d15573d35dc.tar.gz
coreclr-00aa747d9d392c0b202dedbebee26d15573d35dc.tar.bz2
[Tizen] skip dotnet specific arguments in corerun
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.
Diffstat (limited to 'src')
-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 4e5c9d9..5d245f7 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