cub3d/test_badmaps.sh

7 lines
189 B
Bash
Raw Permalink Normal View History

#!/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