[NFC] Update DXContainer tests to use fake parts
authorChris Bieneman <chris.bieneman@me.com>
Fri, 9 Dec 2022 17:57:07 +0000 (11:57 -0600)
committerChris Bieneman <chris.bieneman@me.com>
Fri, 9 Dec 2022 19:16:49 +0000 (13:16 -0600)
commit76fca14750e3ca536e9b65a99ed55730cd704403
tree1077887254d8f8a2d0c982ef3d7933f204e25ea3
parent3b7ac5b295df7381cee277342085f52fe468e633
[NFC] Update DXContainer tests to use fake parts

The tests that are focused on testing the file structure should use
fake part names so that the errors get triggered consistently. As we
add parsing support for known data types and structures under the parts
the parsing errors change to be more semantically accurate.

This change ensures the general errors continue to work with less churn
on the test cases in the future.
llvm/test/tools/obj2yaml/DXContainer/DXILPart.yaml
llvm/test/tools/obj2yaml/DXContainer/ExplicitSizeAndOffsets.yaml
llvm/test/tools/obj2yaml/DXContainer/InvalidOffset.yaml
llvm/test/tools/obj2yaml/DXContainer/InvalidSize.yaml
llvm/test/tools/obj2yaml/DXContainer/OmitSizeAndOffsets.yaml
llvm/test/tools/obj2yaml/DXContainer/ShaderFlags.yaml
llvm/test/tools/obj2yaml/DXContainer/ShaderFlagsEmpty.yaml
llvm/unittests/Object/DXContainerTest.cpp
llvm/unittests/ObjectYAML/DXContainerYAMLTest.cpp