[sw/tests] add example manufacturer test hooks configuration
This demonstrates how to set the MANUFACTURER_HOOKS_DIR environment
variable in DV sim so Bazel can find and build closed source
manufacturer tests.
This partially addressed #13430.
Signed-off-by: Timothy Trippel <ttrippel@google.com>
diff --git a/hw/top_earlgrey/dv/chip_sim_cfg.hjson b/hw/top_earlgrey/dv/chip_sim_cfg.hjson
index da1f66e..e082f71 100644
--- a/hw/top_earlgrey/dv/chip_sim_cfg.hjson
+++ b/hw/top_earlgrey/dv/chip_sim_cfg.hjson
@@ -104,6 +104,13 @@
// Default iterations for all tests - each test entry can override this.
reseed: 1
+ // Uncomment if using manufacturer tests / test hooks that live somewhere else
+ // on your system, outside of $REPO_TOP. See
+ // sw/device/tests/closed_source/README.md for more details.
+ // exports: [
+ // {MANUFACTURER_HOOKS_DIR: "/path/to/manufacturer_hooks_dir"}
+ // ]
+
// Default UVM test and seq class name.
uvm_test: chip_base_test
uvm_test_seq: chip_sw_base_vseq