Changes between Version 20 and Version 21 of TestSuite
- Timestamp:
- 06/30/11 14:47:14 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TestSuite
v20 v21 12 12 - a "ref" directory which contains the reference chombo file. 13 13 14 '' The reference chombo file.'' 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.14 '''The reference chombo file.''' 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. 15 15 16 16 '''Running tests'''. This is done using two shell scripts: 17 17 - postprocess.s, that iterates over each of the test problem and calls the go.s script, 18 - go.s, which basically cd's into the current test directory and executes BearToFix (see below), converts the images from ps to png and copies them back into the image directory. These images will them be linked to the corresponding te xt report wiki pages.18 - go.s, which basically cd's into the current test directory and executes BearToFix (see below), converts the images from ps to png and copies them back into the image directory. These images will them be linked to the corresponding test report wiki pages. 19 19 20 '''Tests report'''. Once test runs are finished, BearToFix will be executed. It will do the error computations and produce two png images showing the reference and the current result of the run. BearToFix is executed twice; the 1st time it read bear2fix.data.img to set the color tables for the test report images, whereas the 2nd time it reads bear2fix.data.test to perform the error computation and produce the test report images.20 '''Tests report'''. Once test runs are finished, BearToFix will be executed. It will do the error computations and produce two png images showing the reference and the current result of the run. BearToFix is executed twice; the 1st time it reads bear2fix.data.img to set the color tables for the test report images, whereas the 2nd time it reads bear2fix.data.test to perform the error computation and produce the test report images. 21 21 22 22 '''Tests error calculations'''. These are done in BearToFix via L2norms and LInfinity norms (reference to be added soon). … … 26 26 '''If the test fails''', BearToFix outputs the current errors as well as suggested new tolerances (5% higher then the current errors). The user can then copy and paste these figures into the bear2fix.data.test file and run BearToFix again. 27 27 28 '''The test log file .''' It is located in the modules/tests directory and briefly keeps track of test results.28 '''The test log file''' is located in the modules/tests directory and briefly keeps track of test results. We plan to add the log info into the test report images though the convert command, so the user can see the images and the error estimates at once. 29 29 ---- 30 30