Skip to content

tests: posix: common: separate into smaller testsuites #79454

Open
@cfriedt

Description

Is your enhancement proposal related to a problem? Please describe.
The posix.common testsuite contains a lot of mostly unrelated testsuites. As a result, the code size is large, but mostly the data size is extremely large.

It would require less variation from default settings, and would reduce ram requirements to split that testsuite into smaller groups of more closely related testsuites.

Describe the solution you'd like

The obvious way to group related testsuites is by Option Group.

E.g.

and potentially others.

testcase.yaml permutations can be designed to enable or disable features that affect different Option Groups, like TSS, TSA, TSH (see Codes).

Additionally, such a grouping would theoretically improve bug attribution capabilities; if an error was traced (either via stacktrace or bug description) to a certain posix function, there would be a 1:1 correspondance to an Option Group, so typically, only that testsuite would need to be executed.

Describe alternatives you've considered
The way the testsuite has been designed historically.

Additional context
This came up in the context of #79443 but it was already thought of as a nice-to-have.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

EnhancementChanges/Updates/Additions to existing featuresGood first issueGood for a first time contributor to takearea: POSIXPOSIX API Libraryarea: TestsIssues related to a particular existing or missing test

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions