vhdl-style-guide/tests/generate
JHertz5 7f51f89dce
#Issue1212: VSG crashes when encountering generate statement corner case. (#1222)
* Issue#1212: Corrected order of operations in extract_pairs to ensure that it does not return an empty list as one of the pairs.

* Issue#1212: Updated the tests to exercise failure case that raised this isssue.

* Issue#1212: Updated extract_indexes_from_pairs to strip any empty pairs from the input list.
2024-09-21 21:40:13 -05:00
..
__init__.py tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_001_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_001_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_002_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_002_test_input.fixed_w_0_spaces.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_002_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_003_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_003_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_004_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_004_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_005_test_input.fixed_lower.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_005_test_input.fixed_upper.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_005_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_006_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_006_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_007_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_007_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_008_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_008_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_009_test_input.fixed_lower.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_009_test_input.fixed_upper.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_009_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_010_test_input.fixed_lower.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_010_test_input.fixed_upper.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_010_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_011_test_input.fixed_add.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_011_test_input.fixed_remove.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_011_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_012_test_input.fixed_lower.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_012_test_input.fixed_upper.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_012_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_013_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_013_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_014_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_014_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_016_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_017_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_018_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_018_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_019_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_019_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_020_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_020_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_021_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_021_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_400_test_input.fixed_no_no_no_no_no.vhd #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
rule_400_test_input.fixed_yes_no_no_no_no.vhd #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
rule_400_test_input.fixed_yes_yes_no_no_no.vhd #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
rule_400_test_input.fixed_yes_yes_yes_no_no.vhd #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
rule_400_test_input.vhd #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
rule_401_test_input.fixed.vhd #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
rule_401_test_input.vhd #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
rule_402_test_input.fixed_no_no_no_no_no.vhd #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
rule_402_test_input.fixed_yes_no_no_no_no.vhd #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
rule_402_test_input.fixed_yes_yes_no_no_no.vhd #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
rule_402_test_input.fixed_yes_yes_yes_no_no.vhd #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
rule_402_test_input.vhd #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
rule_403_test_input.fixed.vhd #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
rule_403_test_input.keep.vhd #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
rule_403_test_input.vhd #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
rule_404_test_input.fixed_no_no_no_no_no.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_404_test_input.fixed_yes_no_no_no_no.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_404_test_input.fixed_yes_yes_no_no_no.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_404_test_input.fixed_yes_yes_yes_no_no.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_404_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_405_test_input.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_405_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_500_test_input.fixed_lower.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_500_test_input.fixed_upper.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_500_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_501_test_input.fixed_lower.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_501_test_input.fixed_upper.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_501_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_600_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_601_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
rule_602_test_input.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
test_rule_001.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_002.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_003.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_004.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_005.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_006.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_007.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_008.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_009.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_010.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_011.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_012.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_013.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_014.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_016.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_017.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_018.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_019.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_020.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_021.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_400.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_401.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_402.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_403.py #Issue1212: VSG crashes when encountering generate statement corner case. (#1222) 2024-09-21 21:40:13 -05:00
test_rule_404.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_405.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_500.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_501.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_600.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_601.py style: apply black 2024-03-24 21:16:35 +02:00
test_rule_602.py style: apply black 2024-03-24 21:16:35 +02:00