The eval command will return exit code 100 when there is at least 1 test case failure (It will return exit code 1 for any other error)
You can fix this in one of two ways:
- It's safe to ignore the 100 exit code, so catch it and just continue the script
- Override the exit code for failed tests to
0
using the environment variable
PROMPTFOO_FAILED_TEST_EXIT_CODE
.