I have a build that does a checkout from StarTeam, compiles several Delphi packages, creates a command line executable of a DUnit test and then runs the test. After a successful run of the test, it then procedes to build our application and do the rest of the stuff we need it to. (In case it matters, we are using FB 5.5 (the latest release), ST 2005 R2 and Delphi 5)
The problem I'm having is that the first time I execute my build, the DUnit test fails. If I then restart the build from the beginning, my build runs fine with the test passing.
I have checked a bunch of different things to try to figure out why this happens including that the check-out from StarTeam is indeed getting the right version of all the files (and it is) and that the test itself doesn't fail on a first run but complete successfully the second time it is run (and it fails regardless of how many times it is run consecutively), but everything in the build appears to work properly, except the test itself.
This was annoying, but livable, but now I would like to utilize the Server version of FinalBuilder. Unfortunately, the second run of a build doesn't get past the error message in the same way it does from my local FB install so I now have to figure out why I'm having this problem.
Any thoughts on what else I should check to get this problem resolved?
Thanks,
Phyllis