Skip to content

Commit

Permalink
scar: complete rewrite of the scar tool
Browse files Browse the repository at this point in the history
- better cli support using argparse
- better code structure
- evaluates expression using python's eval() allowing user to write
  complex python expressions as assertion.
- assertions are fetched from an assertion file
- tests are moved to tests dir
- test list and assertion file for each test is now fetched from a
  json file
- removed scar specific json dependency
- better reports - provides reason for ignoring, marking a tests as
  passed or failed
- added support for nocolor, scar autodetects output being piped to
  another command and disables color
  • Loading branch information
saursin committed Oct 16, 2023
1 parent e72b744 commit 8ea9413
Show file tree
Hide file tree
Showing 83 changed files with 590 additions and 645 deletions.
2 changes: 1 addition & 1 deletion test/scar/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ default: clean verify

.PHONY: verify
verify:
$(PY) scar.py
$(PY) scar.py -v tests.json

clean:
rm -rf work/*
85 changes: 0 additions & 85 deletions test/scar/link.ld

This file was deleted.

40 changes: 0 additions & 40 deletions test/scar/lui.S

This file was deleted.

Loading

0 comments on commit 8ea9413

Please sign in to comment.