瀏覽代碼

code coverage work cleanup

(Logical change 1.108)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@391 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 21 年之前
父節點
當前提交
872dafd7ec
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/testparse.c

+ 1 - 1
test/testparse.c

@@ -42,13 +42,13 @@ int main (void)
 	char *error;
 	char *error;
 	int result;
 	int result;
 
 
+#ifdef CODE_COVERAGE_COMPILE_OUT
 	result = amfReadGroups (&error);
 	result = amfReadGroups (&error);
 	if (result == -1) {
 	if (result == -1) {
 		printf ("Parse Error: %s\n", error);
 		printf ("Parse Error: %s\n", error);
 		exit (-1);
 		exit (-1);
 	}
 	}
 	
 	
-#ifdef CODE_COVERAGE_COMPILE_OUT
         saAmfPrintGroups ();
         saAmfPrintGroups ();
 #endif
 #endif
 	return (0);
 	return (0);