Nmakefile.tests 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. /* for running tests */
  2. CCFLAGS = -g
  3. _MT == 1
  4. _timeb == timeb
  5. _ftime == ftime
  6. .SOURCE: tests
  7. /*
  8. :PACKAGE: pthread
  9. */
  10. set keepgoing
  11. ":test:" : .MAKE .OPERATOR
  12. local I
  13. $(<:D:B:S=.pass) : .IMPLICIT $(>:D:B:S=.pass)
  14. for I $(<) $(>)
  15. $(I:D:B:S=.pass) : .VIRTUAL .FORCE $(I)
  16. $(>)
  17. end
  18. sizes:: sizes.c
  19. loadfree:: loadfree.c
  20. mutex1:: mutex1.c
  21. mutex1e:: mutex1e.c
  22. mutex1n:: mutex1n.c
  23. mutex1r:: mutex1r.c
  24. mutex2:: mutex2.c
  25. mutex2r:: mutex2r.c
  26. mutex2e:: mutex2e.c
  27. exit1:: exit1.c
  28. condvar1:: condvar1.c
  29. condvar1_1:: condvar1_1.c
  30. condvar1_2:: condvar1_2.c
  31. self1:: self1.c
  32. condvar2:: condvar2.c
  33. condvar2_1:: condvar2_1.c
  34. condvar3_1:: condvar3_1.c
  35. condvar3_2:: condvar3_2.c
  36. condvar3_3:: condvar3_3.c
  37. create1.:: create1.c
  38. create2.:: create2.c
  39. cancel1:: cancel1.c
  40. cancel2:: cancel2.c
  41. mutex3:: mutex3.c
  42. mutex3r:: mutex3r.c
  43. mutex3e:: mutex3e.c
  44. mutex4:: mutex4.c
  45. mutex5:: mutex5.c
  46. mutex6:: mutex6.c
  47. mutex6e:: mutex6e.c
  48. mutex6n:: mutex6n.c
  49. mutex6r:: mutex6r.c
  50. mutex7:: mutex7.c
  51. mutex6s:: mutex6s.c
  52. mutex6rs:: mutex6rs.c
  53. mutex6es:: mutex6es.c
  54. mutex7e:: mutex7e.c
  55. mutex7n:: mutex7n.c
  56. mutex7r:: mutex7r.c
  57. mutex8:: mutex8.c
  58. mutex8e:: mutex8e.c
  59. mutex8n:: mutex8n.c
  60. mutex8r:: mutex8r.c
  61. equal1:: equal1.c
  62. exit2:: exit2.c
  63. exit3:: exit3.c
  64. exit4:: exit4.c
  65. exit5:: exit5.c
  66. join0:: join0.c
  67. join1:: join1.c
  68. join2:: join2.c
  69. join3:: join3.c
  70. kill1:: kill1.c
  71. count1:: count1.c
  72. once1:: once1.c
  73. tsd1:: tsd1.c
  74. self2:: self2.c
  75. eyal1:: eyal1.c
  76. condvar3:: condvar3.c
  77. condvar4:: condvar4.c
  78. condvar5:: condvar5.c
  79. condvar6:: condvar6.c
  80. condvar7:: condvar7.c
  81. condvar8:: condvar8.c
  82. condvar9:: condvar9.c
  83. errno1:: errno1.c
  84. reuse1.:: reuse1.c
  85. reuse2.:: reuse2.c
  86. rwlock1:: rwlock1.c
  87. rwlock2:: rwlock2.c
  88. rwlock3:: rwlock3.c
  89. rwlock4:: rwlock4.c
  90. rwlock5:: rwlock5.c
  91. rwlock6:: rwlock6.c
  92. rwlock7:: rwlock7.c
  93. rwlock8:: rwlock8.c
  94. rwlock2_t:: rwlock2_t.c
  95. rwlock3_t:: rwlock3_t.c
  96. rwlock4_t:: rwlock4_t.c
  97. rwlock5_t:: rwlock5_t.c
  98. rwlock6_t:: rwlock6_t.c
  99. rwlock6_t2:: rwlock6_t2.c
  100. semaphore1:: semaphore1.c
  101. semaphore2:: semaphore2.c
  102. semaphore3:: semaphore3.c
  103. context1:: context1.c
  104. cancel3:: cancel3.c
  105. cancel4:: cancel4.c
  106. cancel5:: cancel5.c
  107. cancel6a:: cancel6a.c
  108. cancel6d:: cancel6d.c
  109. cancel7:: cancel7.c
  110. cleanup0:: cleanup0.c
  111. cleanup1:: cleanup1.c
  112. cleanup2:: cleanup2.c
  113. cleanup3:: cleanup3.c
  114. priority1:: priority1.c
  115. priority2:: priority2.c
  116. inherit1:: inherit1.c
  117. spin1:: spin1.c
  118. spin2:: spin2.c
  119. spin3:: spin3.c
  120. spin4:: spin4.c
  121. barrier1:: barrier1.c
  122. barrier2:: barrier2.c
  123. barrier3:: barrier3.c
  124. barrier4:: barrier4.c
  125. barrier5:: barrier5.c
  126. exception1:: exception1.c
  127. exception2:: exception2.c
  128. exception3:: exception3.c
  129. benchtest1:: benchtest1.c
  130. benchtest2:: benchtest2.c
  131. benchtest3:: benchtest3.c
  132. benchtest4:: benchtest4.c
  133. benchtest5:: benchtest5.c
  134. valid1:: valid1.c
  135. valid2:: valid2.c
  136. cancel9:: cancel9.c
  137. sizes: :test: sizes
  138. loadfree: :test:
  139. mutex5 :test: loadfree
  140. mutex1 :test: loadfree
  141. mutex1n :test: loadfree
  142. mutex1r :test: loadfree
  143. mutex1e :test: loadfree
  144. semaphore1 :test: loadfree
  145. semaphore2 :test: loadfree
  146. semaphore3 :test: loadfree
  147. mutex2 :test: loadfree
  148. mutex2r :test: loadfree
  149. mutex2e :test: loadfree
  150. exit1 :test: loadfree
  151. condvar1 :test: loadfree
  152. kill1 :test: loadfree
  153. condvar1_1 :test: condvar1
  154. condvar1_2 :test: join2
  155. self1 :test: loadfree
  156. condvar2 :test: condvar1
  157. condvar2_1 :test: condvar2
  158. create1 :test: mutex2
  159. create2 :test: create1
  160. reuse1 :test: create2
  161. reuse2 :test: reuse1
  162. cancel1 :test: create1
  163. cancel2 :test: cancel1
  164. mutex3 :test: create1
  165. mutex3r :test: create1
  166. mutex3e :test: create1
  167. mutex4 :test: mutex3
  168. mutex6 :test: mutex4
  169. mutex6n :test: mutex4
  170. mutex6e :test: mutex4
  171. mutex6r :test: mutex4
  172. mutex6s :test: mutex6
  173. mutex6rs :test: mutex6r
  174. mutex6es :test: mutex6e
  175. mutex7 :test: mutex6
  176. mutex7n :test: mutex6n
  177. mutex7e :test: mutex6e
  178. mutex7r :test: mutex6r
  179. mutex8 :test: mutex7
  180. mutex8n :test: mutex7n
  181. mutex8e :test: mutex7e
  182. mutex8r :test: mutex7r
  183. equal1 :test: create1
  184. exit2 :test: create1
  185. exit3 :test: create1
  186. exit4 :test: kill1
  187. exit5 :test: exit4
  188. join0 :test: create1
  189. join1 :test: create1
  190. join2 :test: create1
  191. join3 :test: join2
  192. count1 :test: join1
  193. once1 :test: create1
  194. tsd1 :test: join1
  195. self2 :test: create1
  196. eyal1 :test: tsd1
  197. condvar3 :test: create1
  198. condvar3_1 :test: condvar3
  199. condvar3_2 :test: condvar3_1
  200. condvar3_3 :test: condvar3_2
  201. condvar4 :test: create1
  202. condvar5 :test: condvar4
  203. condvar6 :test: condvar5
  204. condvar7 :test: condvar6 cleanup1
  205. condvar8 :test: condvar7
  206. condvar9 :test: condvar8
  207. errno1 :test: mutex3
  208. rwlock1 :test: condvar6
  209. rwlock2 :test: rwlock1
  210. rwlock3 :test: rwlock2
  211. rwlock4 :test: rwlock3
  212. rwlock5 :test: rwlock4
  213. rwlock6 :test: rwlock5
  214. rwlock7 :test: rwlock6
  215. rwlock8 :test: rwlock7
  216. rwlock2_t :test: rwlock2
  217. rwlock3_t :test: rwlock2_t
  218. rwlock4_t :test: rwlock3_t
  219. rwlock5_t :test: rwlock4_t
  220. rwlock6_t :test: rwlock5_t
  221. rwlock6_t2 :test: rwlock6_t
  222. context1 :test: cancel2
  223. cancel3 :test: context1
  224. cancel4 :test: cancel3
  225. cancel5 :test: cancel3
  226. cancel6a :test: cancel3
  227. cancel6d :test: cancel3
  228. cancel7 :test: kill1
  229. cleanup0 :test: cancel5
  230. cleanup1 :test: cleanup0
  231. cleanup2 :test: cleanup1
  232. cleanup3 :test: cleanup2
  233. priority1 :test: join1
  234. priority2 :test: priority1
  235. inherit1 :test: join1
  236. spin1 :test:
  237. spin2 :test: spin1.c
  238. spin3 :test: spin2.c
  239. spin4 :test: spin3.c
  240. barrier1 :test:
  241. barrier2 :test: barrier1.c
  242. barrier3 :test: barrier2.c
  243. barrier4 :test: barrier3.c
  244. barrier5 :test: barrier4.c
  245. benchtest1 :test: mutex3
  246. benchtest2 :test: benchtest1
  247. benchtest3 :test: benchtest2
  248. benchtest4 :test: benchtest3
  249. benchtest5 :test: benchtest4
  250. exception1 :test: cancel4
  251. exception2 :test: exception1
  252. exception3 :test: exception2
  253. exit4 :test: exit3
  254. valid1 :test: join1
  255. valid2 :test: valid1
  256. cancel9 :test: cancel8