Bee schrieb:
Using the script at <http://svn.freepascal.org/svn/fpcbuild/scripts/florian/unix/searchrev> it took 12 min without any interaction to find a breaking revision for some x86-64 problem.

Thanks for the script, but I'm not quite familiar with bash script. I don't understand how this script determines the program (not the compilation process) run successfully or not.

COMMAND=cd ~/fpc && ~/bin/fpc11x64 tmdtest

does it.

There can be multiple commands concated by && (boolean and):

COMMAND=cd ~/fpc && ~/bin/fpc11x64 tmdtest && ~/fpc/tmdtest

If one fails (exit code <>0), evalution is stopped and the revision is marked as broken.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to