Actual source code: ex32.c
petsc-3.13.6 2020-09-29
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: egrep -v "(malloc|saws_port_auto_select|vecscatter_mpi1|error_output_stdout|check_pointer_intensity|cuda_initialize|nox|use_gpu_aware_mpi)"
25: TEST*/