Skip to content

Commit

Permalink
Testing ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
staleyLANL committed May 28, 2024
1 parent 05fe45f commit 8562814
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions impala/physics/run_tests_physmod_vec_compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,31 @@
import test_physmod_vec_PTW as pmv_ptw

"""
This script runs all tests comparing physical models to its vectorized version
in the "py_calibration_hier" directory.
Invoke with > python run_tests_physmod_vec_compare.py
This script runs all tests.
Invoke with:
python run_tests_physmod_vec_compare.py
All test methods are found in the py_tests directory.
Add or subtract tests by using suite.addTest(...
add as many lines as needed.
Add or subtract tests by using suite.addTest(...).
Add as many lines as needed.
"""

suite = unittest.TestSuite()
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Add as many tests as desired. Point to test module and test case
# Add as many tests as desired. Point to test module and test case.
suite.addTest(unittest.makeSuite(pmv_cy.TestConstantYieldStress))
suite.addTest(unittest.makeSuite(pmv_yjc.TestJCYieldStress))
suite.addTest(unittest.makeSuite(pmv_ptw.TestPTWYieldStress_Constg0Tm))
suite.addTest(unittest.makeSuite(pmv_ptw.TestPTWYieldStress_SimpShearConstTm))
suite.addTest(unittest.makeSuite(pmv_ptw.TestPTWYieldStress_SteinShearConstTm))

# End adding tests
# End adding tests.
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# Store the result of all tests run
# Verbosity is the amount of output printed to the std.out
# verbosity = 2: print full test name and result summary
# verbosity = 1: print dots for completed tests and result summary
# verbosity = 0: print no test name or dots, just summary
# Store the result of all tests run.
# Verbosity is the amount of output printed to the std.out.
# verbosity = 2: print full test name and result summary.
# verbosity = 1: print dots for completed tests and result summary.
# verbosity = 0: print no test name or dots, just summary.
result = unittest.TextTestRunner(verbosity=2).run(suite)

# Produce exit codes for console interaction,
Expand Down

0 comments on commit 8562814

Please sign in to comment.