Actual source code: ex32.c
petsc-3.8.4 2018-03-24
2: static char help[] = "Tests deletion of mixed case options";
4: #include <petscsys.h>
6: int main(int argc,char **argv)
7: {
10: PetscInitialize(&argc,&argv,NULL,help);if (ierr) return ierr;
11: PetscOptionsSetValue(NULL,"-abc",NULL);
12: PetscOptionsSetValue(NULL,"-FOO",NULL);
13: PetscOptionsClearValue(NULL,"-FOO");
14: PetscOptionsView(NULL,NULL);
15: PetscFinalize();
16: return ierr;
17: }
20: /*TEST
22: test:
23: args: -skip_petscrc -options_left 0
24: filter: grep -v malloc_test | grep -v saws_port_auto_select
25: TEST*/