Add elasticity plugins to xml_native_writer_test. Fixes #961.

PiperOrigin-RevId: 545454207
Change-Id: I4e93499eaa53e5bc8c8afa682986657cef3ac20f
This commit is contained in:
Alessio Quaglino
2023-07-04 08:28:56 -07:00
committed by Copybara-Service
parent 2b38148d24
commit 46e06c4cac
5 changed files with 56 additions and 36 deletions
+6 -1
View File
@@ -18,7 +18,12 @@ target_link_libraries(xml_api_test fixture gmock)
mujoco_test(xml_native_reader_test)
target_link_libraries(xml_native_reader_test fixture gmock)
mujoco_test(xml_native_writer_test)
mujoco_test(
xml_native_writer_test
PROPERTIES
ENVIRONMENT
"MUJOCO_PLUGIN_DIR=$<TARGET_FILE_DIR:elasticity>"
)
target_link_libraries(
xml_native_writer_test
fixture