codegen_test.sh: keep track of failure rather than exiting on first failure