From daeb8503f9cf9fb3ab732c2abfb70ba45fe57f00 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Tue, 21 Apr 2026 10:54:40 -0700 Subject: [PATCH] cursor Signed-off-by: James Cherry --- .cursor/rules/opensta-tests.mdc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .cursor/rules/opensta-tests.mdc diff --git a/.cursor/rules/opensta-tests.mdc b/.cursor/rules/opensta-tests.mdc new file mode 100644 index 00000000..c49f375e --- /dev/null +++ b/.cursor/rules/opensta-tests.mdc @@ -0,0 +1,13 @@ +--- +description: Where OpenSTA regression tests live (pvt/test vs public test/) +alwaysApply: true +--- + +# OpenSTA tests and regression + +- **Primary suite:** Most regression tests, Tcl drivers, and golden `.ok` files live under **`pvt/test/`** (private / separate repo, often opened as a second workspace root alongside `master`). +- **Public subset:** **`test/`** at the OpenSTA repo root holds a smaller set of tests shipped with the public tree (e.g. `test/regression`, `*.tcl`, `*.ok` there). + +When searching for a test name, regression lists, or updating goldens, **check `pvt/test` first**, then `test/`. + +Typical driver: `pvt/test/regression` (or `test/regression` for the public list). Built `sta` binary is usually `master/build/sta` relative to the main checkout.