Status: Help Wanted
Affects Version/s: OTP 23
Fix Version/s: None
ct_run -suite example_SUITE
At present, running this command will cause ct to fail with error "Invalid reference to group g2 in example_SUITE:all/0"
This example should not generate an error. An empty list of tests is a valid list. It could be silently skipped instead.
If you evaluate [length(X) || X <- [[1, 2], , ]]., you do not expect an error.
A group could be temporarily empty, and it's inconvenient when tests fail based on that.