https://github.com/jadexter/grtrans
Raw File
Tip revision: c76cb11fa1396516f38ba6f972c68fbb5b5ae984 authored by Jason Dexter on 08 March 2021, 22:06:47 UTC
testing new intel compiler fix
Tip revision: c76cb11
commit_grtrans.py
import os
from run_grtrans_test_problems import run_test_problems
from unit_tests import run_unit_tests

passed, max_passed, failed = run_test_problems(save=0)
nfailed, ufailed = run_unit_tests()
if passed < max_passed or nfailed > 0: print 'ERROR -- grtrans tests failed!'
else: 
#    os.chdir('..')
#    os.system('cvs -d :ext:jdexter@grad16.phys.washington.edu:/phys/users/jdexter/cvs commit grtrans')
    os.system('git commit -a')
    

#try:
#    with open('tests_failed.p','rb') as f: print 'ERROR -- grtrans tests failed!'
#except IOError as e:
#    os.chdir('..')
#    os.system('cvs -d :ext:jdexter@grad16.phys.washington.edu:/phys/users/jdexter/cvs commit grtrans')
back to top