Do not skip cow and touch_grid during WriteReadCompare.
PiperOrigin-RevId: 755370618 Change-Id: I90dfe66b20c316b19c943eab8d031f5aef187fa7
This commit is contained in:
committed by
Copybara-Service
parent
253abad210
commit
449de73430
@@ -1551,6 +1551,7 @@ void mjXWriter::Asset(XMLElement* root) {
|
||||
if (mesh->Plugin().active) {
|
||||
elem = InsertEnd(section, "mesh");
|
||||
WriteAttrTxt(elem, "name", mesh->name);
|
||||
WriteAttrTxt(elem, "file", mesh->File());
|
||||
OnePlugin(InsertEnd(elem, "plugin"), &mesh->Plugin());
|
||||
} else{
|
||||
elem = InsertEnd(section, "mesh");
|
||||
|
||||
@@ -1383,10 +1383,8 @@ TEST_F(XMLWriterTest, WriteReadCompare) {
|
||||
// if file is meant to fail, skip it
|
||||
if (absl::StrContains(p.path().string(), "100_humanoids") ||
|
||||
absl::StrContains(p.path().string(), "malformed_") ||
|
||||
absl::StrContains(p.path().string(), "touch_grid") ||
|
||||
absl::StrContains(p.path().string(), "gmsh_") ||
|
||||
absl::StrContains(p.path().string(), "shark_") ||
|
||||
absl::StrContains(p.path().string(), "cow") ||
|
||||
absl::StrContains(p.path().string(), "frameless_contact_hfield") ||
|
||||
absl::StrContains(p.path().string(), "spheremesh")) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user