[mesa-users] de-testify test suite
Francis Timmes
fxt44 at mac.com
Wed Sep 10 19:55:33 EDT 2014
oh this is sweet bill. thanks for sharing your toolkit!
fxt
On Sep 10, 2014, at 4:50 PM, Bill Wolf <wmwolf at physics.ucsb.edu> wrote:
> Hi all,
>
> In preparing for the MESA summer school, I got sick of “de-testing” new test cases I’d check out of the test_suite folder (you might even say I “detested” it). So I added this functionality to my little suite of command line tools for mesa that I haven’t shared yet. It’s pretty minimal right now, but given this e-mail thread, I thought I’d share it. Public repository is here:
>
> https://github.com/wmwolf/mesa_cli
>
> It’s more or less self-documenting, but it requires ruby (you probably have it), the thor gem (really easy to get), and MesaScript (minimal effort to install).
>
> Particular to this problem, just doing something like
>
> >>> mesa test wd2 my_dir
>
> will create a new working directory from $MESA_DIR/star/test_suite/wd2 called “my_dir" with the offending mesa_dir lines deleted from the makefile and inlist. Nothing is done to the original install unless you call this from within your installation.
>
> There are also tools for creating new blank work directories and pointing your main inlist at other inlists. Check the built-in help for details for those if you are interested. These tools are really nifty when chained with MesaScript (make an inlist dynamically, point to the new inlist, run, repeat). Even without MesaScript, I like using this to set up chains of inlists to run without copying an inlist to the actual “inlist” file by doing successive “mesa point” calls from within a run script.
>
> If you like this, I’d love feedback and/or feature requests.
>
> Regards,
>
> Bill
>
>
> ________________________
> William Wolf
> wmwolf at physics.ucsb.edu
>
> UCSB Department of Physics
>
>
> ------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk_______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
More information about the Mesa-users
mailing list