diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2016-04-13 02:47:24 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-04-13 17:37:28 +0200 |
commit | e69d6c2e7bef9e8821423cb476d1a727b73ca1a4 (patch) | |
tree | d9dc64ab8f0d709c36bb84f119b234a43fb6bc62 /util/lint/remccoms3.sed | |
parent | 3cfbc4a60873691d7ee21dda388c268b811782dd (diff) |
romcc: Rewrite the test system
Differences:
- The test logic is now only implemented in one place (pending the
deletion of the old parts), whereas it previously was implemented
both as make rules and as a pair of shell scripts.
- Tests don't need to be registered anymore. Just adding a new file
with the correct name is enough to have it tested.
- The code is hopefully more readable and maintainable.
- The new test script supports colors (if the standard output is a
terminal and --nocolor was not passed on the command line).
Things to do in follow-up patches:
- Remove the old test code
- Test or remove fail_test*.c, hello_world*.c and raminit_test*.c
- Fix regressions that have built up over the years, while making sure
not to introduce new ones
- Makefile integration
- Jenkins integration
There are tests in the makefile that specify -fno-always-inline, but
this option doesn't exist anymore, so I didn't port them over.
Change-Id: Idd6b89368c1e36555cb880c37bbe07035c938cd7
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/14291
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'util/lint/remccoms3.sed')
0 files changed, 0 insertions, 0 deletions