diff options
author | Konstantin Baladurin <k.baladurin@samsung.com> | 2019-10-04 19:45:44 +0300 |
---|---|---|
committer | Gleb Balykov <g.balykov@samsung.com> | 2020-03-25 15:29:41 +0300 |
commit | 00aa747d9d392c0b202dedbebee26d15573d35dc (patch) | |
tree | 81efd2f3ada643e8b49b1107654abb25cbafd16e /src | |
parent | adcbf6d8b676d209709c4523e293f11005c6d1aa (diff) | |
download | coreclr-00aa747d9d392c0b202dedbebee26d15573d35dc.tar.gz coreclr-00aa747d9d392c0b202dedbebee26d15573d35dc.tar.bz2 coreclr-00aa747d9d392c0b202dedbebee26d15573d35dc.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.
Diffstat (limited to 'src')
-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 |