[mesa-users] de-testify test suite

Richard Townsend townsend at astro.wisc.edu
Tue Sep 9 23:50:51 EDT 2014

One thing worth noting: if mesa_dir is not defined in the inlist (or MESA_DIR in a makefile), then by default the environment variable MESA_DIR will be used to determine the top-level MESA directory. Using this functionality (after removing the mesa_dir definitions from inlists) would be a good way to avoid having to re-sed the tests each time you move them.



On Sep 9, 2014, at 10:48 PM, Richard Townsend <townsend at astro.wisc.edu> wrote:

> Hi Amber —
> How about this:
> sed -e ’s%\.\./\.\./\.\./%mesa_is_awesome%’ <filename>
> cheers,
> Rich
> On Sep 9, 2014, at 9:15 PM, Amber Lauer <alauer1 at tigers.lsu.edu> wrote:
>> Hi all, I am attempting to modify the test suite to be run from another folder so I can bend and mold it to my will. I want to remove the reference to the mesa dir location, I believe the line is mesa_dir = '../../..'. At the moment I am stuck doing it by hand each time I compile a new case, but I would like to do it in bulk. I tried to learn a little about the 'sed' utility, but it didn't like the /'s and ..'s in the command, even when I used delimiters (I tried several). Either that or my syntax was off altogether.
>> -- 
>> Amber Lauer. M.S. Physics
>> PhD Student,
>> Graduate School of Physics,
>> Louisiana State University
>> ------------------------------------------------------------------------------
>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20140909/e3f287fe/attachment.html>

More information about the Mesa-users mailing list