[cctbxbb] libtbx.run_tests_parallel

Graeme.Winter at diamond.ac.uk Graeme.Winter at diamond.ac.uk
Thu Nov 14 03:39:58 PST 2013


Graemes-MacBook-Pro:command_line graeme$ svn commit -m "Added auto_run_dir=true phil parameter which will use tempfile.mkdtemp() to make a temporary directory for running and chdir to there; otherwise will check for files in cwd and complain if not empty"
Sending        run_tests_parallel.py
Transmitting file data .
Committed revision 18602.

EAFP; http://docs.python.org/2/glossary.html just went ahead and did it ;o) seems to behave as expected with and without command-line token; complain if unhappy 

Cheerio, Graeme



On 14 Nov 2013, at 08:24, <Graeme.Winter at diamond.ac.uk> <Graeme.Winter at diamond.ac.uk> wrote:

> Folks,
> 
> Would anyone mind if I added an option to libtbx.run_tests_parallel to automatically make a temporary directory, chdir to there and run? It would mean I could write a little update / build / run tests script more easily.
> 
> auto_run_dir=true springs to mind as a Phil option. Any thoughts?
> 
> Thanks & best wishes,
> 
> Graeme
> -- 
> This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
> Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
> Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
> Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
> 
> 
> 
> 
> _______________________________________________
> cctbxbb mailing list
> cctbxbb at phenix-online.org
> http://phenix-online.org/mailman/listinfo/cctbxbb


-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 





More information about the cctbxbb mailing list