| /petsc/config/ |
| H A D | testparse.py | 58 def getDefaultOutputFileRoot(testname): argument 63 defroot=(re.sub("run","",testname) if testname.startswith("run") else testname) 225 testname=intests[i]; sdict=indicts[i]; i+=1 242 sep_testnames=[testname] 274 if '_' not in testname: testname+='_1' 275 testnames.append(testname) 286 testname=testnames[i] 293 newtestnm=testname+gensuffix 330 def splitTests(testname,sdict): argument 338 testnames,sdicts=genTestsSeparateTestvars([testname],[sdict]) [all …]
|
| H A D | report_tests.py | 132 testname = fname.split('-') 134 for i in range(1,len(testname)): 135 probname += testname[i] 138 testname_list = testname[0].split('_')
|
| H A D | gmakegentest.py | 213 def _getLoopVars(self,inDict,testname, isSubtest=False): argument 346 def getSubstVars(self,testDict,rpath,testname): argument 375 subst['testname']=testname 403 defroot = testparse.getDefaultOutputFileRoot(testname) 544 def genRunScript(self,testname,root,isRun,srcDict): argument 554 testDict=srcDict[testname] 558 with open(os.path.join(runscript_dir,testname+".sh"),"w",opener=opener) as fh: 561 subst=self.getSubstVars(testDict,rpath,testname) 562 loopVars = self._getLoopVars(subst,testname) # Alters subst as well 607 sLoopVars = self._getLoopVars(subst,testname,isSubtest=True)
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | exampleslog.py | 25 def findSrcfile(self,testname): argument 29 testnm=testname.replace("diff-","") 79 print("Warning: Cannot find file for "+testname) 111 testname=test.replace("diff-","") if test.startswith("diff-") else test 113 error=error if test==testname else "Diff errors:\n"+error 120 if testname in testDict[fname]: 121 if error in testDict[fname][testname]['errors']: 122 testDict[fname][testname]['errors'][error].append(lfile) 124 testDict[fname][testname]['errors'][error]=[lfile] 127 testDict[fname][testname]={} [all …]
|
| /petsc/src/snes/tests/ |
| H A D | ex8.c | 490 …or(DM fdm, PetscBool usePoly, PetscInt order, PetscInt dir, const char *testname, Vec fu, AppCtx *… in CheckTransferError() argument 512 …"%s tests FAIL for order %" PetscInt_FMT " at tolerance %g error %g\n", testname, order, (double)t… in CheckTransferError() 513 …tf(comm, "%s tests pass for order %" PetscInt_FMT " at tolerance %g\n", testname, order, (double)t… in CheckTransferError() 514 …IL for order %" PetscInt_FMT " derivatives at tolerance %g error %g\n", testname, order, (double)t… in CheckTransferError() 515 … tests pass for order %" PetscInt_FMT " derivatives at tolerance %g\n", testname, order, (double)t… in CheckTransferError() 528 const char *testname = "Unknown"; in CheckTransfer() local 540 testname = "Interpolation"; in CheckTransfer() 545 testname = "Restriction"; in CheckTransfer() 550 testname = "Injection"; in CheckTransfer() 578 PetscCall(CheckTransferError(fdm, PETSC_TRUE, order, 0, testname, fu, user)); in CheckTransfer() [all …]
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | runtests.py | 265 testname = os.path.splitext(filename)[0] 266 if (exclude and exclude(testname)) or (include and not include(testname)): 268 module = __import__(testname)
|
| /petsc/src/ts/utils/dmplexlandau/tutorials/ |
| H A D | ex2.c | 538 char pname[256], testname[256], ename[256]; in ProcessREOptions() local 571 PetscCall(PetscStrncpy(testname, "none", sizeof(testname))); in ProcessREOptions() 585 …ist("-ex2_test_type", "Name of test to run", "", testlist, testname, testname, sizeof(testname), N… in ProcessREOptions() 603 PetscCall(PetscFunctionListFind(testlist, testname, &rectx->test)); in ProcessREOptions() 604 PetscCheck(rectx->test, PETSC_COMM_WORLD, PETSC_ERR_ARG_WRONG, "No test found '%s'", testname); in ProcessREOptions()
|
| /petsc/src/mat/tests/ |
| H A D | ex23.c | 322 char testname[256]; in main() local 324 …PetscCall(PetscSNPrintf(testname, sizeof(testname), "MatConvert_IS_XAIJ special case (%" PetscInt_… in main() 325 PetscCall(PetscPrintf(PETSC_COMM_WORLD, "Test %s\n", testname)); in main()
|
| /petsc/doc/developers/ |
| H A D | testing.md | 103 - The test name is given by `testname = basestring` if the suffix 105 `testname = basestring + "_" + suffix` otherwise. 109 `output_file = "output/" + testname + ".out"`)
|