File: disable_broken_unit_tests

package info (click to toggle)
libdispatch 0~svn188-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,448 kB
  • ctags: 1,652
  • sloc: sh: 10,139; ansic: 8,999; makefile: 229; objc: 37; cpp: 14
file content (42 lines) | stat: -rw-r--r-- 1,228 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Description: disable unit tests that crash or cause heavy CPU usage
Author: Mark Heily <mark@heily.com>

Index: libdispatch-0.1/testing/Makefile.am
===================================================================
--- libdispatch-0.1.orig/testing/Makefile.am	2010-07-03 12:30:54.000000000 -0400
+++ libdispatch-0.1/testing/Makefile.am	2010-07-03 12:39:14.000000000 -0400
@@ -11,15 +11,21 @@
 	dispatch_api			\
 	dispatch_c99			\
 	dispatch_cascade		\
-	dispatch_debug			\
-	dispatch_priority		\
-	dispatch_priority2		\
+	dispatch_debug 		    \
 	dispatch_starfish		\
 	queue_finalizer
 
+# FIXME: These tests are disabled because they cause high CPU load
+#        and/or crashes:
+#    
+#	        dispatch_priority		
+#       	dispatch_priority2		
+#           dispatch_read
+#
+#dispatch_priority2_SOURCES=dispatch_priority.c
+#dispatch_priority2_CFLAGS=-DUSE_SET_TARGET_QUEUE=1
+
 dispatch_c99_CFLAGS=-std=c99
-dispatch_priority2_SOURCES=dispatch_priority.c
-dispatch_priority2_CFLAGS=-DUSE_SET_TARGET_QUEUE=1
 
 if HAVE_CBLOCKS
 CBLOCKS_TESTS=				\
@@ -28,7 +34,6 @@
 	dispatch_drift			\
 	dispatch_group			\
 	dispatch_pingpong		\
-	dispatch_read			\
 	dispatch_readsync		\
 	dispatch_sema			\
 	dispatch_timer_bit31		\