Skip to content

Commit 26dded0

Browse files
Make the HardwareIntrinsic tests rebuild when templates are updated (#118486)
1 parent ea6e07e commit 26dded0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tests/JIT/HardwareIntrinsics/Arm/Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<Target Name="ExecuteGenerateTestsScript"
12-
Inputs="$(MSBuildAllProjects);$(RepoRoot)/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_Arm.cs"
12+
Inputs="$(MSBuildAllProjects);$(RepoRoot)/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_Arm.cs;$(MSBuildThisFileDirectory)/Shared/*.template"
1313
Outputs="$(GeneratedHWIntrinsicTestListFile)"
1414
Condition="'$(Language)' == 'C#'">
1515
<Exec Command="$(DotNetCli) build $(RepoRoot)/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_Arm.csproj -c $(Configuration) --no-restore /p:IntermediateOutputPath=$(IntermediateOutputPath)/GenerateHWIntrinsicTests/ /p:OutputPath=$(OutputPath)/GenerateHWIntrinsicTests/" />

src/tests/JIT/HardwareIntrinsics/General/Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<Target Name="ExecuteGenerateTestsScript"
12-
Inputs="$(MSBuildAllProjects);$(RepoRoot)/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_General.cs"
12+
Inputs="$(MSBuildAllProjects);$(RepoRoot)/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_General.cs;$(MSBuildThisFileDirectory)/Shared/*.template"
1313
Outputs="$(GeneratedHWIntrinsicTestListFile)"
1414
Condition="'$(Language)' == 'C#'">
1515
<Exec Command="$(DotNetCli) build $(RepoRoot)/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_General.csproj -c $(Configuration) --no-restore /p:IntermediateOutputPath=$(IntermediateOutputPath)/GenerateHWIntrinsicTests/ /p:OutputPath=$(OutputPath)/GenerateHWIntrinsicTests/" />

0 commit comments

Comments
 (0)