xref: /petsc/src/sys/tests/ex32.c (revision b122ec5aa1bd4469eb4e0673542fb7de3f411254)
1 
2 static char help[] = "Tests deletion of mixed case options";
3 
4 #include <petscsys.h>
5 
6 int main(int argc,char **argv)
7 {
8 
9   CHKERRQ(PetscInitialize(&argc,&argv,NULL,help));
10   CHKERRQ(PetscOptionsSetValue(NULL,"-abc",NULL));
11   CHKERRQ(PetscOptionsSetValue(NULL,"-FOO",NULL));
12   CHKERRQ(PetscOptionsClearValue(NULL,"-FOO"));
13   CHKERRQ(PetscOptionsView(NULL,NULL));
14   CHKERRQ(PetscFinalize());
15   return 0;
16 }
17 
18 /*TEST
19 
20    test:
21       args: -skip_petscrc -options_left 0 -use_gpu_aware_mpi 0
22       filter: egrep -v "(malloc|saws_port_auto_select|vecscatter_mpi1|error_output_stdout|check_pointer_intensity|cuda_initialize|nox|use_gpu_aware_mpi|checkstack)"
23 TEST*/
24