https://github.com/pou036/redback
Tip revision: 7341144b0e5515c4e3afe9f89394a9f1f4eb52d2 authored by mustafasari87 on 31 May 2022, 06:07:53 UTC
Added input files to reproduce redback results from Sari et al 2022 in GJI (fig.5 & 6)
Added input files to reproduce redback results from Sari et al 2022 in GJI (fig.5 & 6)
Tip revision: 7341144
run_tests
#!/usr/bin/env python
import sys, os, inspect
# Set the current working directory to the directory where this script is located
os.chdir(os.path.abspath(os.path.dirname(sys.argv[0])))
#### Set the name of the application here and moose directory relative to the application
app_name = 'redback'
MOOSE_DIR = os.path.abspath(os.path.join('..', 'moose'))
#### See if MOOSE_DIR is already in the environment instead
if "MOOSE_DIR" in os.environ:
MOOSE_DIR = os.environ['MOOSE_DIR']
sys.path.append(os.path.join(MOOSE_DIR, 'python'))
##import path_tool
#path_tool.activate_module('TestHarness')
# Append error flag when running tests
#sys.argv.insert(1, "--error")
from TestHarness import TestHarness
#from Tester import Tester
# Run the tests!
TestHarness.buildAndRun(sys.argv, app_name, MOOSE_DIR)
#if '--store-timing' in sys.argv:
# harness = TestTimer(sys.argv, app_name, MOOSE_DIR)
#else:
# harness = TestHarness(sys.argv, app_name, MOOSE_DIR)
#harness.factory.loadPlugins([os.path.join(os.getcwd(), 'python/TestHarness')], 'testers', Tester)
#harness.findAndRunTests()