| /honee/tests/ |
| H A D | junit.py | 11 parser = argparse.ArgumentParser('Test runner with JUnit and TAP output') 28 …parser.add_argument('-np', '--pool-size', type=int, default=1, help='Number of test cases to run i… 35 parser.add_argument('test', help='Test executable', nargs='?') 45 tofile='test created file', 57 def get_source_path(self, test: str) -> Path: 58 """Compute path to test source file 61 test (str): Name of test 66 if test.startswith('navierstokes'): 69 return (Path('tests') / test).with_suffix('.c') 72 def get_run_path(self, test: str) -> Path: [all …]
|
| H A D | junit_common.py | 63 """Dataclass storing information about a single test case""" 86 """Abstract Base Class defining the required interface for running a test suite""" 88 def get_source_path(self, test: str) -> Path: 89 """Compute path to test source file 92 test (str): Name of test 100 def get_run_path(self, test: str) -> Path: 101 """Compute path to built test executable file 104 test (str): Name of test 107 Path: Path to test executable 112 def get_output_path(self, test: str, output_file: str) -> Path: [all …]
|
| H A D | smartsim_regression_framework.py | 40 def assert_np_all(test, truth): argument 43 assert np.all(test == truth) 45 raise Exception(f"Expected {truth}, but got {test}") from e 48 def assert_equal(test, truth): argument 51 assert test == truth 53 raise Exception(f"Expected {truth}, but got {test}") from e 95 """To create the test directory and start SmartRedis database""" 104 self.exp = Experiment("test", launcher="local") 113 def test(self, ceed_resource) -> Tuple[bool, Exception, str]: member in SmartSimTest 199 passTest, exception, args = self.test(ceed_resource) [all …]
|
| /honee/tests/junit-xml/ |
| H A D | README.rst | 8 A Python module for creating JUnit XML test result documents that can be 9 read by tools such as Jenkins or Bamboo. If you are ever working with test tool or 10 test suite written in Python and want to take advantage of Jenkins' or Bamboo's 11 pretty graphs and test reporting capabilities, this module will let you 12 generate the XML test reports. 41 Create a test suite, add a test case, and print it to the screen: 48 ts = TestSuite("my test suite", test_cases) 58 <testsuite errors="0" failures="0" name="my test suite" tests="1">
|
| H A D | .gitignore | 25 # Unit test / coverage reports
|
| /honee/tests/junit-xml/junit_xml/ |
| H A D | __init__.py | 29 <testcase classname="testdb.directory" name="1-passed-test" time="10"/> 30 <testcase classname="testdb.directory" name="2-failed-test" time="20"> 35 <testcase classname="package.directory" name="3-errord-test" time="15"> 40 <testcase classname="package.directory" name="3-skipped-test" time="0"> 41 <skipped message="SKIPPED Test" type="skipped"> 45 <testcase classname="testdb.directory" name="3-passed-test" time="10"> 79 Suite of test cases. 104 raise TypeError("test_cases must be a list of test cases") 119 Builds the XML document for the JUnit test suite. 125 # build the test suite element [all …]
|
| /honee/ |
| H A D | .gitlab-ci.yml | 5 - test:stage-lint 6 - test:stage-full 7 - test:post 8 - test:docs 15 .test-basic: 22 .test: 23 extends: .test-basic 44 # Test formatting 47 stage: test:stage-lint 49 - .test-basic [all …]
|
| H A D | Makefile | 231 # Define test files 234 tests.smartsim := test-smartsim 325 # The test and prove targets can be controlled via pattern searches. The default 335 # Test 336 test : $(matched:$(OBJDIR)/%=run-%) target 338 tst : ;@$(MAKE) $(MFLAGS) V=$(V) test 340 # Test with TAP output 352 # Test with JUNIT output 354 …@printf " %10s %s\n" TEST $(<:$(OBJDIR)/%=%); $(PYTHON) tests/junit.py --junit-batch $(JUNIT_BATC… 463 test ! $$l -gt 0 [all …]
|
| H A D | CONTRIBUTING.md | 9 If adding a new feature, please add or extend a test so that your new feature is tested. 11 In typical development, every commit should compile, be covered by the test suite, and pass all tes…
|
| H A D | README.md | 71 To test the installation, use 74 $ make test -j8
|
| H A D | Doxyfile | 739 # The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test 740 # list. This list is created by putting \test commands in the documentation. 1055 # exclude all test directories for example use the pattern */test/* 1063 # ANamespace::AClass, ANamespace::*Test
|
| /honee/tests/output/ |
| H A D | adv2d-wave-square-direct_divdiff_cfl.csv | 3 # petsc_arch: arch-devdebug-test-asan
|
| H A D | taylorgreen_totalke.csv | 5 # petsc_arch: arch-devdebug-test-asan
|
| /honee/doc/ |
| H A D | runtime_options.md | 150 …- Run in test mode and specify whether solution (`solver`) or turbulent statistics (`turb_spanstat… 154 - Test absolute tolerance 158 - Test filename
|
| H A D | examples.md | 6 This test case is taken/inspired by that presented in {cite}`mengaldoCompressibleBC2014`. It is int… 62 This test case, based on {cite}`shakib1991femcfd`, is an example of using an externally provided me… 118 For this test problem (from {cite}`straka1993numerical`), we solve the full Navier-Stokes equations… 477 This test problem is based on Sod's Shock Tube (from{cite}`sodshocktubewiki`), a canonical test cas…
|
| /honee/src/ |
| H A D | cloptions.c | 106 …PetscCall(PetscOptionsEnum("-test_type", "Type of test to run", NULL, TestTypes, (PetscEnum)app_ct… in ProcessCommandLineOptions() 110 …PetscCall(PetscOptionsScalar("-compare_final_state_atol", "Test absolute tolerance", NULL, app_ctx… in ProcessCommandLineOptions() 112 …PetscCall(PetscOptionsString("-compare_final_state_filename", "Test filename", NULL, app_ctx->test… in ProcessCommandLineOptions()
|
| H A D | misc.c | 93 // Compare reference solution values with current test run for CI 103 …pp_ctx->test_file_path, "") != 0, comm, PETSC_ERR_FILE_READ, "File for regression test not given"); in RegressionTest() 115 PetscCall(PetscPrintf(PETSC_COMM_WORLD, "Test failed with error norm %g\n", (double)error)); in RegressionTest() 171 // Compare reference solution values with current test run for CI in PostProcess()
|
| /honee/examples/ |
| H A D | conv_test.sh | 48 printf "\n# TEST FAILED!\n\n"
|
| /honee/problems/ |
| H A D | eulervortex.c | 24 " Test Case : %s\n" in PRINT_EULER_VORTEX() 109 …PetscCall(PetscOptionsEnum("-euler_test", "Euler test option", NULL, EulerTestTypes, (PetscEnum)(e… in NS_EULER_VORTEX()
|
| H A D | newtonian.c | 641 // Unit test functions 732 // @brief Test the Newtonian State transformation functions, `StateFrom*`
|
| H A D | bc_freestream.c | 503 // @brief Test Riemann solver related `*_fwd` functions via finite-difference approximation
|
| /honee/include/ |
| H A D | navierstokes.h | 30 // Euler - test cases 41 // Test mode type 98 // Test mode arguments
|
| /honee/src/spanstats/ |
| H A D | turbulence.c | 109 // @brief Creates operator for calculating error of method of manufactured solution (MMS) test
|
| /honee/qfunctions/ |
| H A D | differential_filter.h | 178 // The MMS test can optionally include a wall damping function (must also be enabled for the differ…
|
| H A D | eulervortex.h | 532 // For test cases 1 and 3 the background velocity is zero in TravelingVortex_Inflow() 537 // For test cases 1 and 2, T_inlet = T_inlet = 0.4 in TravelingVortex_Inflow()
|