Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add litmus toml translator #3

Merged
merged 12 commits into from
May 28, 2024
Merged

Conversation

bensimner
Copy link
Collaborator

No description provided.

Clones https://github.com/thud/litmus-toml-translator/tree/master
Up to 807f075

This merges:
807f075 Add LICENSE
1be08fe Update ignore list
9e21f2e Migrate HashSets to BTreeSets for determinism
b9dd1ce Add readme and harness fixes
b51be1e Add basic docs
23a129c Fix indentation for threads
b9064e2 Fix register clobber parsing for exc handlers
9089b28 Update ignore list
c0547cf Add per-thread assertion eval on each test run
879e5d0 Fmt + Lint
841c0f6 Add optional ignore list for runtime failing tests
e55bc81 Add multi-level pgtable support
c6316c6 Add results counting
0f21759 Update isla-snapshots submodule
e0d79df Add exception handling
536749e Fix 'desc3' function
4b06498 Fix exp parsing
68f6c50 Add logging
39edb93 Add CLI
fb2c9b2 Refactor with better error handling
c76abbe Move arch config loading into own module
c5292fa Fix git submodules
0e296ba Add core functionality
aa98167 Init

With git submodules carved out
Moves the dependency on isla from a submodule to a sibling directory.

In future we'll make this point to the isla git repo, or something.
Removes hardcoded architecture file references and instead forces the user
to pass command-line options specifying them.
Now groups have names structured the same as the directory structure that
they came from. e.g. if there was a foo/bar/baz.c then there are groups:
> \@ALL         - runs them all
> foo/\@ALL     - runs all the foo's
> foo/bar/\@ALL - runs all the foo/bar's

This means we can put generated and hand-written tests in separate directories,
without same-named sub-directories causing overlapping group names.
Adds a `make tools` to build associated tooling.
Namely, just litmus-toml-translator for now.

Also adds a `translate-toml-tests` target to run the translator over the
litmus-tests-armv8a-system-vmsa repo to produce generated versions of all
the tests.
@bensimner bensimner merged commit c0be0df into master May 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant