diff options
author | Konstantin Baladurin <k.baladurin@samsung.com> | 2019-10-04 19:45:44 +0300 |
---|---|---|
committer | Alexander Soldatov/AI Compiler Lab /SRR/Staff Engineer/삼성전자 <soldatov.a@samsung.com> | 2019-10-07 11:58:33 +0300 |
commit | f13b05d6fcc83193b4f072fda8e7b9a63bebb899 (patch) | |
tree | badc42b3925028b57f787ea3dd2ebe5ec49f5508 | |
parent | 3f544dde25bd497d2209c2dcee9256b0f575008b (diff) | |
download | coreclr-f13b05d6fcc83193b4f072fda8e7b9a63bebb899.tar.gz coreclr-f13b05d6fcc83193b4f072fda8e7b9a63bebb899.tar.bz2 coreclr-f13b05d6fcc83193b4f072fda8e7b9a63bebb899.zip |
[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.
-rw-r--r-- | src/coreclr/hosts/unixcorerun/corerun.cpp | 13 |
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 |