Skip to content

Commit bda222f

Browse files
committed
Fix crossgen executable name
1 parent 1ea1078 commit bda222f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

eng/pipelines/coreclr/templates/crossgen2-comparison-job.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,10 @@ jobs:
122122
WorkItemCommand:
123123
echo $(displayname_comparison_job) ;
124124
echo Targeting $(targetFlavor) ;
125-
chmod +x $HELIX_WORKITEM_PAYLOAD/corerun;
126125
mkdir -p $HELIX_WORKITEM_PAYLOAD/log;
127126
export CORE_ROOT=$HELIX_WORKITEM_PAYLOAD;
128127
python3 -u $HELIX_CORRELATION_PAYLOAD/crossgen2_comparison.py crossgen_framework
129-
--crossgen $HELIX_WORKITEM_PAYLOAD/crossgen2/crossgen2.dll
130-
--dotnet $HELIX_WORKITEM_PAYLOAD/corerun
128+
--crossgen $HELIX_WORKITEM_PAYLOAD/crossgen2/crossgen2
131129
--core_root $HELIX_WORKITEM_PAYLOAD/prebuiltWork/dlls
132130
--result_dir $HELIX_WORKITEM_UPLOAD_ROOT
133131
--target_os $(target_crossgen2_os)
@@ -145,8 +143,7 @@ jobs:
145143
md %HELIX_WORKITEM_PAYLOAD%\log &
146144
set CORE_ROOT=%HELIX_WORKITEM_PAYLOAD%&
147145
python -u %HELIX_CORRELATION_PAYLOAD%\crossgen2_comparison.py crossgen_framework
148-
--crossgen %HELIX_WORKITEM_PAYLOAD%\crossgen2\crossgen2.dll
149-
--dotnet %HELIX_WORKITEM_PAYLOAD%\corerun.exe
146+
--crossgen %HELIX_WORKITEM_PAYLOAD%\crossgen2\crossgen2.exe
150147
--core_root %HELIX_WORKITEM_PAYLOAD%\prebuiltWork\dlls
151148
--result_dir %HELIX_WORKITEM_UPLOAD_ROOT%
152149
--target_os $(target_crossgen2_os)

src/tests/Common/scripts/crossgen2_comparison.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def build_argument_parser():
131131
collects information about all the runs."""
132132

133133
framework_parser = subparsers.add_parser('crossgen_framework', description=framework_parser_description)
134-
framework_parser.add_argument('--dotnet', dest='dotnet', required=True)
134+
framework_parser.add_argument('--dotnet', dest='dotnet')
135135
framework_parser.add_argument('--crossgen', dest='crossgen_executable_filename', required=True)
136136
framework_parser.add_argument('--target_os', dest='target_os', required=True)
137137
framework_parser.add_argument('--target_arch', dest='target_arch', required=True)

0 commit comments

Comments
 (0)