Thanks. But that gives exactly the same result. The script runs fine, indicating that it FAILED and it returns a non-zero (1) exit code.
The issue is that for some reason it seems the auto-test is not being run at all as part of the auto-build process.