PostGIS  2.1.10dev-r@@SVN_REVISION@@
int main ( )

Definition at line 23 of file loader/cunit/cu_tester.c.

References register_pgsql2shp_suite(), and register_shp2pgsql_suite().

24 {
25 
26  /* initialize the CUnit test registry */
27  if (CUE_SUCCESS != CU_initialize_registry())
28  return CU_get_error();
29 
30  /* Add the shp2pgsql test suite */
31  if (NULL == register_shp2pgsql_suite())
32  {
33  CU_cleanup_registry();
34  return CU_get_error();
35  }
36 
37  /* Add the pgsql2shp test suite */
38  if (NULL == register_pgsql2shp_suite())
39  {
40  CU_cleanup_registry();
41  return CU_get_error();
42  }
43 
44  /* Run all tests using the CUnit Basic interface */
45  CU_basic_set_mode(CU_BRM_VERBOSE);
46  CU_basic_run_tests();
47  CU_cleanup_registry();
48 
49  return CU_get_error();
50 
51 }
CU_pSuite register_shp2pgsql_suite(void)
Definition: cu_shp2pgsql.c:27
CU_pSuite register_pgsql2shp_suite(void)
Definition: cu_pgsql2shp.c:27

Here is the call graph for this function: