[petsc-dev] Auto-testing Failure?

Scott Kruger kruger at txcorp.com
Thu Jun 3 13:54:40 CDT 2021


It's a type of special filter:

   test:
      filter: Error: true

If you look in `src/sys/tests` there are a couple examples of this.

The `Error:` enables the ignoring of the error code.

Scott


On 2021-06-03 09:54, Jacob Faibussowitsch did write:
> Hello All,
> 
> All of our unit tests look for some kind of positive result, but is there any established way in the harness to test for failure of a particular kind?
> 
> Best regards,
> 
> Jacob Faibussowitsch
> (Jacob Fai - booss - oh - vitch)
> 

-- 
Scott Kruger
Tech-X Corporation               kruger at txcorp.com
5621 Arapahoe Ave, Suite A       Phone: (720) 466-3196
Boulder, CO 80303                Fax:   (303) 448-7756


More information about the petsc-dev mailing list