Skip to content

Commit

Permalink
[release/6.0] Test on CentOS 7, not RedHat 7
Browse files Browse the repository at this point in the history
- dotnet/dnceng#4298 part 1/II
  - contributes to dotnet/dnceng#3189
- use Docker container for CentOS, mimicking dotnet/runtime#105063
  • Loading branch information
dougbu committed Oct 22, 2024
1 parent 87e1f2a commit 30af457
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/UnitTests.proj
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@
<PayloadDirectory>$(MSBuildThisFileDirectory)XUnit</PayloadDirectory>
</HelixWorkItem>
</ItemGroup>
<!-- Exercise Helix failure reporting path for Xunit -->
<!-- Exercise Helix failure reporting path for Xunit -->
<ItemGroup>
<AzurePipelinesExpectedTestFailure Include="XunitReportingTests.ExerciseXunitCharacterFilteringFailurePath"/>
</ItemGroup>

<ItemGroup Condition=" '$(HelixAccessToken)' != '' ">
<HelixTargetQueue Include="RedHat.7.Amd64"/>
<HelixTargetQueue Include="(Centos.7.Amd64)[email protected]/dotnet-buildtools/prereqs:centos-7-mlnet-helix"/>
<HelixTargetQueue Include="Windows.10.Amd64"/>
<HelixTargetQueue Include="(Debian.11.Amd64)[email protected]/dotnet-buildtools/prereqs:debian-11-helix-amd64"/>
</ItemGroup>
Expand All @@ -75,7 +75,7 @@
</PropertyGroup>

<ItemGroup Condition=" '$(HelixAccessToken)' == '' ">
<HelixTargetQueue Include="RedHat.7.Amd64.Open"/>
<HelixTargetQueue Include="(Centos.7.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:centos-7-mlnet-helix"/>
<HelixTargetQueue Include="Windows.10.Amd64.Open"/>
<HelixTargetQueue Include="(Debian.11.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:debian-11-helix-amd64"/>
</ItemGroup>
Expand All @@ -98,7 +98,7 @@

<!-- Yields an existing archive that will fail if ArchivePayload doesn't work -->
<Target Name="ZipPrexistingArchive" BeforeTargets="Build">
<MakeDir Directories="$(IntermediateOutputPath)\correlationarchivepayload" />
<MakeDir Directories="$(IntermediateOutputPath)\correlationarchivepayload" />
<WriteLinesToFile
File="$(IntermediateOutputPath)\correlationarchivepayload\testArchivePayload.txt"
Lines="I am a test Archive Payload"
Expand Down

0 comments on commit 30af457

Please sign in to comment.