Adding ability to run tests without libmesh configuration.

This code adds a way for a code to ignore errors when finding options.
This would solve issue #4153 
If there is a better way to push the option into util.py, I can rewrite that portion.

A code can now do something like:
argv = sys.argv[:]
argv.append('--ignore-option-errors')
TestHarness.buildAndRun(argv, app_name, MOOSE_DIR)

to ignore the option errors.
I'll take care of it,

Cody

On Tue, Nov 11, 2014 at 9:27 AM, Cogliati, Joshua J <joshua.cogliati@inl.gov
> wrote:

>
>
> On Tue, Nov 11, 2014 at 9:09 AM, Cody Permann <notifications@github.com>
> wrote:
>
>> In python/TestHarness/util.py:
>>
>> > @@ -200,7 +202,8 @@ def getCompilers(libmesh_dir):
>> >
>> >    else:
>> >      print "Error! Could not find libmesh's config script in any of the usual locations!"
>> > -    exit(1)
>> > +    if util_options["fail_on_errors"]:
>>
>> I'm not sure I like this solution. If the libmesh_config file isn't found
>> we should probably just cleanly return the set containing "ALL" from each
>> of these routines, or better yet one of these routines that all of the
>> others use. Instead, this solution just conditionally removes the exit
>> condition allowing it to fall through doing things like failing to open
>> files or running commands and leaving the return set in a somewhat
>> unpredictable state.
>>
>> As I look over this changeset it looks like at least one or more of these
>> routines needs to be refactored anyway to use getLibMeshConfigOption. I can
>> take a whack at this unless you want to.
>>
>> I don't really like the solution either, as in it works for me, but it
> isn't very clean.  I am fairly certain that (time for Cody to explain to
> Josh) + (time for Josh to refactor) > (time for Cody to refactor)  so if
> you have time to do this, that would be good.  If you don't have time to
> work on this in November, I can do so.
>
> Thank you.
>
>
>
> --
> Joshua Cogliati
> Reactor Physics Analysis & Design
> Idaho National Laboratory
> Phone: 208-526-6149
>