Changes between Version 53 and Version 54 of TestSuite
- Timestamp:
- 11/30/11 12:41:01 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TestSuite
v53 v54 5 5 == Current Testing == 6 6 At the moment we do post-processing tests of AstroBEAR 2.0. Basically, tests consist on comparing the flow variables in a chombo file produced by the test modules, against a ''reference chombo file'' (see below). 7 All test related files are located in modules/tests/ .7 All test related files are located in modules/tests/ within the astrobear code. 8 8 Each test has its own directory which contains: 9 - the problem's data files: global.data, modules.data, problem.data, profile.data, solver.data, communication.data, io.data and physics.data, 10 - the problem's module problem.f90, 11 - two data files used by bear2fix to produce test reports: bear2fix.data.test and bear2fix.data.img, 12 - a "ref" directory which contains the reference chombo file. 9 - the problem's data files: global.data, modules.data, problem.data, profile.data, solver.data, communication.data, io.data and physics.data 10 - the problem's module: problem.f90 11 - two data files used by bear2fix to produce test reports: bear2fix.data.test and bear2fix.data.img 12 13 All of the post-processing is done with bear2fix on Clover. Similar to the modules/tests directory in astrobear, Clover has a data/tests directory. Each tests has its own directory which contains: 14 - bear2fix.data.test and bear2fix.data.img 15 - a "ref" directory which contains the reference chombo file 16 - an "images" directory which contains the reference image and the new simulation image 17 - a "logs" directory (see below) 13 18 14 19 '''The reference chombo file (CHref).''' This file, chombo00001.hdf, has been produced with the code and verified by someone in our research group using well documented quantitative analytical or numerical studies. Reference chombos are included with the current distribution of the code, and information about them can be found in their corresponding test wiki pages. … … 24 29 '''If the test fails''', The test will fail if one of the relative errors calculated is greater than 5%. Inspection of the text report wiki page should show why the test failed. 25 30 26 '''The test log file''' is located in the data/tests directory on clover and briefly keeps track of test results.31 '''The logs directory''' is located in each tests' directory. It contains the new simulation chombo, the abs_erros.data and rel_errors.data files, and a testlog file which contains the runtime output. 27 32 28 33