Rewrite RGBFIX

- Make it work inside pipelines
- Add RGBFIX tests to the suite
- Be more flexible in accepted MBC names
- Add warnings for dangerous or nonsensical input params
- Improve man page
This commit is contained in:
ISSOtm
2020-12-26 01:53:16 +01:00
committed by Eldred Habert
parent f28b4abafc
commit 41d544a4eb
215 changed files with 1450 additions and 541 deletions

16
test/fix/README.md Normal file
View File

@@ -0,0 +1,16 @@
# RGBFIX tests
These tests check that RGBFIX behaves properly.
## Structure of a test
- `test.bin`: The file passed as input to RGBFIX.
- `test.flags`: The command-line flags passed to RGBFIX's invocation.
Actually, only the first line is considered; the rest of the file may contain comments about the test.
- `test.gb`: The expected output.
May not exist, generally when the test expects an error, in which case the comparison is skipped.
- `test.err`: The expected error output.
## Special tests
- `noexist.err` is the expected error output when RGBFIX is given a non-existent input file.