mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-04 19:25:43 +00:00
Improve flag set generation of RGBGFX tests
Less duplication = good
This commit is contained in:
1 parent
3f5983358c
commit
903862c451
1 file changed
+1
-1
+1
-1
@@ -31,7 +31,7 @@ fail() {
|
||||
while [[ "$ofs" -eq 0 ]]; do (( ofs = RANDOM % 256 )); done
|
||||
while [[ "$size" -eq 0 ]]; do (( size = RANDOM % 256 )); done
|
||||
for f in *.bin; do
|
||||
for flags in "" "-b $ofs" "-N $size,256" "-b $ofs -N $size,256"; do
|
||||
for flags in ""{," -b $ofs"}{," -N $size,256"}; do
|
||||
new_test ./rgbgfx_test "$f" $flags
|
||||
test || fail $?
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user