Home
last modified time | relevance | path

Searched full:test (Results 1 – 25 of 28) sorted by relevance

12

/honee/tests/
H A Djunit.py11 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 Djunit_common.py63 """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 Dsmartsim_regression_framework.py40 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 DREADME.rst8 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.gitignore25 # Unit test / coverage reports
/honee/tests/junit-xml/junit_xml/
H A D__init__.py29 <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.yml5 - 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 DMakefile231 # 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 DCONTRIBUTING.md9 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 DREADME.md71 To test the installation, use
74 $ make test -j8
H A DDoxyfile739 # 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 Dadv2d-wave-square-direct_divdiff_cfl.csv3 # petsc_arch: arch-devdebug-test-asan
H A Dtaylorgreen_totalke.csv5 # petsc_arch: arch-devdebug-test-asan
/honee/doc/
H A Druntime_options.md150 …- Run in test mode and specify whether solution (`solver`) or turbulent statistics (`turb_spanstat…
154 - Test absolute tolerance
158 - Test filename
H A Dexamples.md6 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 Dcloptions.c106 …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 Dmisc.c93 // 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 Dconv_test.sh48 printf "\n# TEST FAILED!\n\n"
/honee/problems/
H A Deulervortex.c24 " 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 Dnewtonian.c641 // Unit test functions
732 // @brief Test the Newtonian State transformation functions, `StateFrom*`
H A Dbc_freestream.c503 // @brief Test Riemann solver related `*_fwd` functions via finite-difference approximation
/honee/include/
H A Dnavierstokes.h30 // Euler - test cases
41 // Test mode type
98 // Test mode arguments
/honee/src/spanstats/
H A Dturbulence.c109 // @brief Creates operator for calculating error of method of manufactured solution (MMS) test
/honee/qfunctions/
H A Ddifferential_filter.h178 // The MMS test can optionally include a wall damping function (must also be enabled for the differ…
H A Deulervortex.h532 // 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()

12