From db14842d9c7c6b0ff4731cb71ca1cfc8a36aabe6 Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Mon, 23 Sep 2024 05:39:39 -0700 Subject: [PATCH] Skip some various tests and fix scopeinfo to match our convention --- tests/various/README.md | 11 +++++++++++ tests/various/{abc9.ys => abc9.ys.skip} | 0 tests/various/{check.ys => check.ys.skip} | 0 tests/various/{check_2.ys => check_2.ys.skip} | 0 tests/various/{check_3.ys => check_3.ys.skip} | 0 tests/various/{check_4.ys => check_4.ys.skip} | 0 .../{ice40_mince_abc9.ys => ice40_mince_abc9.ys.skip} | 0 tests/various/{plugin.sh => plugin.sh.skip} | 0 tests/various/scopeinfo.ys | 8 ++++---- 9 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 tests/various/README.md rename tests/various/{abc9.ys => abc9.ys.skip} (100%) rename tests/various/{check.ys => check.ys.skip} (100%) rename tests/various/{check_2.ys => check_2.ys.skip} (100%) rename tests/various/{check_3.ys => check_3.ys.skip} (100%) rename tests/various/{check_4.ys => check_4.ys.skip} (100%) rename tests/various/{ice40_mince_abc9.ys => ice40_mince_abc9.ys.skip} (100%) rename tests/various/{plugin.sh => plugin.sh.skip} (100%) diff --git a/tests/various/README.md b/tests/various/README.md new file mode 100644 index 000000000..31c1f0ac9 --- /dev/null +++ b/tests/various/README.md @@ -0,0 +1,11 @@ +# Simple tests + +## Disabled + +- `abc9`: we do not support `abc9` +- `check`: we handle logic loops differently +- `check2`: we handle logic loops differently +- `check3`: we handle logic loops differently +- `check4`: we handle logic loops differently +- `ice40_mince_abc9`: we do not support `abc9` +- `plugin`: we do not support plugins diff --git a/tests/various/abc9.ys b/tests/various/abc9.ys.skip similarity index 100% rename from tests/various/abc9.ys rename to tests/various/abc9.ys.skip diff --git a/tests/various/check.ys b/tests/various/check.ys.skip similarity index 100% rename from tests/various/check.ys rename to tests/various/check.ys.skip diff --git a/tests/various/check_2.ys b/tests/various/check_2.ys.skip similarity index 100% rename from tests/various/check_2.ys rename to tests/various/check_2.ys.skip diff --git a/tests/various/check_3.ys b/tests/various/check_3.ys.skip similarity index 100% rename from tests/various/check_3.ys rename to tests/various/check_3.ys.skip diff --git a/tests/various/check_4.ys b/tests/various/check_4.ys.skip similarity index 100% rename from tests/various/check_4.ys rename to tests/various/check_4.ys.skip diff --git a/tests/various/ice40_mince_abc9.ys b/tests/various/ice40_mince_abc9.ys.skip similarity index 100% rename from tests/various/ice40_mince_abc9.ys rename to tests/various/ice40_mince_abc9.ys.skip diff --git a/tests/various/plugin.sh b/tests/various/plugin.sh.skip similarity index 100% rename from tests/various/plugin.sh rename to tests/various/plugin.sh.skip diff --git a/tests/various/scopeinfo.ys b/tests/various/scopeinfo.ys index f8d4ca31b..bf90c1be0 100644 --- a/tests/various/scopeinfo.ys +++ b/tests/various/scopeinfo.ys @@ -11,7 +11,7 @@ endmodule EOT hierarchy -top top -flatten +flatten -scopeinfo select -assert-count 1 top/n:some_inst top/t:$scopeinfo %i select -assert-count 1 top/n:some_inst top/r:TYPE=module %i @@ -46,7 +46,7 @@ endmodule EOT hierarchy -top top -flatten +flatten -scopeinfo select -assert-count 2 top/t:$scopeinfo select -assert-count 1 top/n:some_inst top/t:$scopeinfo %i @@ -87,11 +87,11 @@ endmodule EOT hierarchy -top top -flatten top +flatten -scopeinfo top select -assert-count 1 top/t:$scopeinfo setattr -mod -unset keep_hierarchy * -flatten +flatten -scopeinfo select -assert-count 2 top/t:$scopeinfo select -assert-count 1 top/n:some_inst top/t:$scopeinfo %i