diff options
author | Bruce Forstall <brucefo@microsoft.com> | 2018-02-21 21:58:41 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-02-21 21:58:41 -0800 |
commit | eae9c75b53bb88dfe0914b247a8d379621de61af (patch) | |
tree | 9c4123b969ee3311e87a026b8533ae63bfb2d463 /tests/arm | |
parent | 9264ec999eb42ecff8cd36068b051cf6e8f16501 (diff) | |
download | coreclr-eae9c75b53bb88dfe0914b247a8d379621de61af.tar.gz coreclr-eae9c75b53bb88dfe0914b247a8d379621de61af.tar.bz2 coreclr-eae9c75b53bb88dfe0914b247a8d379621de61af.zip |
Fix StructPacking test for ARM (#16484)
Use RuntimeInformation.ProcessArchitecture instead of
RuntimeInformation.OSArchitecture, as for Windows ARM we normally
run in the WoW layer.
Also, `double` on ARM is 8 byte aligned, but was going down the x86
code path that assumes 4-byte alignment.
Finally, add this test to the Windows ARM and Windows ARM64 test
runs by adding it to the respective tests.lst files.
Diffstat (limited to 'tests/arm')
-rw-r--r-- | tests/arm/Tests.lst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/arm/Tests.lst b/tests/arm/Tests.lst index 407ab2cd7d..19e9c10275 100644 --- a/tests/arm/Tests.lst +++ b/tests/arm/Tests.lst @@ -90819,3 +90819,11 @@ Expected=0 MaxAllowedDurationSeconds=600 Categories=EXPECTED_PASS HostStyle=0 + +[StructPacking.cmd_11402] +RelativePath=Interop\StructPacking\StructPacking\StructPacking.cmd +WorkingDir=Interop\StructPacking\StructPacking +Expected=0 +MaxAllowedDurationSeconds=600 +Categories=EXPECTED_PASS +HostStyle=0 |