mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-24 03:52:08 +00:00
Improve tests a little (#1324)
* Avoid redirecting error messages in RGBLINK tests We check that RGBLINK prints nothing to stdout, so all that would be captured on stdout is a putative failure message. * Require each RGBLINK test to check error output Otherwise, you can have a test that just... checks nothing! * Document how to add tests Fixes #1300's last remaining item. Also add `checkdiff` rules to remind us to update that doc if any of the test driver scripts are updated.
This commit is contained in:
@@ -66,3 +66,16 @@ dependency src/gfx/main.cpp contrib/zsh_compl/_rgbgfx \
|
||||
"Did the rgbgfx CLI change?"
|
||||
dependency src/gfx/main.cpp contrib/bash_compl/_rgbgfx.bash \
|
||||
"Did the rgbgfx CLI change?"
|
||||
|
||||
dependency test/fetch-test-deps.sh CONTRIBUTING.md \
|
||||
"Did the test protocol change?"
|
||||
dependency test/run-tests.sh CONTRIBUTING.md \
|
||||
"Did the test protocol change?"
|
||||
dependency test/asm/test.sh CONTRIBUTING.md \
|
||||
"Did the RGBASM test protocol change?"
|
||||
dependency test/link/test.sh CONTRIBUTING.md \
|
||||
"Did the RGBLINK test protocol change?"
|
||||
dependency test/fix/test.sh CONTRIBUTING.md \
|
||||
"Did the RGBFIX test protocol change?"
|
||||
dependency test/gfx/test.sh CONTRIBUTING.md \
|
||||
"Did the RGBGFX test protocol change?"
|
||||
|
||||
Reference in New Issue
Block a user