mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 09:58:09 +01:00
tests: add a script to quickly run the program through all bad maps
https://www.notion.so/Tests-automatique-pour-les-bad-maps-239551de06f48087a5d3da952ddfc296?v=233551de06f480718417000cf26e3225&source=copy_link
This commit is contained in:
parent
4b861f77ea
commit
ec00bb1048
1 changed files with 6 additions and 0 deletions
6
test_badmaps.sh
Executable file
6
test_badmaps.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
for i in ./ressources/bad_maps/*; do
|
||||||
|
printf "testing $i...\n"
|
||||||
|
./cub3d $i && printf "$i...\tFAILED (did not detect expected error)\n" || printf "$i...\tPASSED\n"
|
||||||
|
done
|
||||||
Loading…
Add table
Add a link
Reference in a new issue