BlueGit

timfa raytracer

unit_tests

Pipelines Pipeline Editor

Passed Started 7 days ago by timfa

Raw

Running on Steve

Log timestamps in UTC.

  1. 122:00:41Using docker image node:20-bookworm ...
  2. 222:00:41Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
  1. 322:00:41Running on Steve via BlueGit...
  2. 422:00:41Working directory: /workspace
  3. 522:00:41Pipeline #629, job #2437
  1. 622:00:41TAP version 13
  2. 722:00:41# Subtest: column pixel contract
  3. 822:00:41 # Subtest: legacy bug (sw=widthLine, max(1,...)) cannot reach column 0 or use sw=1
  4. 922:00:41 ok 1 - legacy bug (sw=widthLine, max(1,...)) cannot reach column 0 or use sw=1
  5. 1022:00:41 ---
  6. 1122:00:41 duration_ms: 1.403036
  7. 1222:00:41 ...
  8. 1322:00:41 # Subtest: simulated wall sample uses one source column per screen column
  9. 1422:00:41 ok 2 - simulated wall sample uses one source column per screen column
  10. 1522:00:41 ---
  11. 1622:00:41 duration_ms: 0.661287
  12. 1722:00:41 ...
  13. 1822:00:41 1..2
  14. 1922:00:41ok 1 - column pixel contract
  15. 2022:00:41 ---
  16. 2122:00:41 duration_ms: 3.562218
  17. 2222:00:41 type: 'suite'
  18. 2322:00:41 ...
  19. 2422:00:41# Subtest: PpdaCompositor (compositor.rs rules)
  20. 2522:00:41 # Subtest: nearer depth wins
  21. 2622:00:41 ok 1 - nearer depth wins
  22. 2722:00:41 ---
  23. 2822:00:41 duration_ms: 4.384448
  24. 2922:00:41 ...
  25. 3022:00:41 # Subtest: tie within epsilon keeps lower layer (body)
  26. 3122:00:41 ok 2 - tie within epsilon keeps lower layer (body)
  27. 3222:00:41 ---
  28. 3322:00:41 duration_ms: 0.246334
  29. 3422:00:41 ...
  30. 3522:00:41 # Subtest: zero diffuse alpha skips layer
  31. 3622:00:41 ok 3 - zero diffuse alpha skips layer
  32. 3722:00:41 ---
  33. 3822:00:41 duration_ms: 0.242467
  34. 3922:00:41 ...
  35. 4022:00:41 # Subtest: zero depth alpha skips layer
  36. 4122:00:41 ok 4 - zero depth alpha skips layer
  37. 4222:00:41 ---
  38. 4322:00:41 duration_ms: 0.218391
  39. 4422:00:41 ...
  40. 4522:00:41 1..4
  41. 4622:00:41ok 2 - PpdaCompositor (compositor.rs rules)
  42. 4722:00:41 ---
  43. 4822:00:41 duration_ms: 6.964935
  44. 4922:00:41 type: 'suite'
  45. 5022:00:41 ...
  46. 5122:00:41# Subtest: DepthDecode encodings
  47. 5222:00:41 # Subtest: gray 8/16 roundtrip via encode/decode value
  48. 5322:00:41 ok 1 - gray 8/16 roundtrip via encode/decode value
  49. 5422:00:41 ---
  50. 5522:00:41 duration_ms: 1.491703
  51. 5622:00:41 ...
  52. 5722:00:41 # Subtest: rgb_bands fills R then G then B
  53. 5822:00:41 ok 2 - rgb_bands fills R then G then B
  54. 5922:00:41 ---
  55. 6022:00:41 duration_ms: 0.311067
  56. 6122:00:41 ...
  57. 6222:00:41 # Subtest: rgb_bands rejects invalid order
  58. 6322:00:41 ok 3 - rgb_bands rejects invalid order
  59. 6422:00:41 ---
  60. 6522:00:41 duration_ms: 0.393993
  61. 6622:00:41 ...
  62. 6722:00:41 # Subtest: rgb_packed positional
  63. 6822:00:41 ok 4 - rgb_packed positional
  64. 6922:00:41 ---
  65. 7022:00:41 duration_ms: 0.288555
  66. 7122:00:41 ...
  67. 7222:00:41 # Subtest: distanceMeters uses near/far
  68. 7322:00:41 ok 5 - distanceMeters uses near/far
  69. 7422:00:41 ---
  70. 7522:00:41 duration_ms: 0.211239
  71. 7622:00:41 ...
  72. 7722:00:41 1..5
  73. 7822:00:41ok 3 - DepthDecode encodings
  74. 7922:00:41 ---
  75. 8022:00:41 duration_ms: 4.503612
  76. 8122:00:41 type: 'suite'
  77. 8222:00:41 ...
  78. 8322:00:41# Subtest: FloorCast math
  79. 8422:00:41 # Subtest: floorHit below horizon returns positive path and isCeiling false
  80. 8522:00:41 ok 1 - floorHit below horizon returns positive path and isCeiling false
  81. 8622:00:41 ---
  82. 8722:00:41 duration_ms: 1.353222
  83. 8822:00:41 ...
  84. 8922:00:41 # Subtest: floorHit above horizon is ceiling
  85. 9022:00:41 ok 2 - floorHit above horizon is ceiling
  86. 9122:00:41 ---
  87. 9222:00:41 duration_ms: 0.198244
  88. 9322:00:41 ...
  89. 9422:00:41 # Subtest: posZ matches wall projection: bottom row ≈ one cell away
  90. 9522:00:41 ok 3 - posZ matches wall projection: bottom row ≈ one cell away
  91. 9622:00:41 ---
  92. 9722:00:41 duration_ms: 0.220907
  93. 9822:00:41 ...
  94. 9922:00:41 # Subtest: perspective: farther rows (nearer horizon) have larger rowDist
  95. 10022:00:41 ok 4 - perspective: farther rows (nearer horizon) have larger rowDist
  96. 10122:00:41 ---
  97. 10222:00:41 duration_ms: 0.189929
  98. 10322:00:41 ...
  99. 10422:00:41 # Subtest: sampleNearest wraps and picks texel
  100. 10522:00:41 ok 5 - sampleNearest wraps and picks texel
  101. 10622:00:41 ---
  102. 10722:00:41 duration_ms: 0.971883
  103. 10822:00:41 ...
  104. 10922:00:41 # Subtest: render of checkerboard floor yields many unique colours (not flat)
  105. 11022:00:41 ok 6 - render of checkerboard floor yields many unique colours (not flat)
  106. 11122:00:41 ---
  107. 11222:00:41 duration_ms: 45.191533
  108. 11322:00:41 ...
  109. 11422:00:41 # Subtest: render with real stone.png yields many source texel colours on the floor
  110. 11522:00:41 ok 7 - render with real stone.png yields many source texel colours on the floor
  111. 11622:00:41 ---
  112. 11722:00:41 duration_ms: 51.588275
  113. 11822:00:41 ...
  114. 11922:00:41 1..7
  115. 12022:00:41ok 4 - FloorCast math
  116. 12122:00:41 ---
  117. 12222:00:41 duration_ms: 101.701438
  118. 12322:00:41 type: 'suite'
  119. 12422:00:41 ...
  120. 12522:00:41# Subtest: LevelFormat schema v1
  121. 12622:00:41 # Subtest: validates default empty level in a pack
  122. 12722:00:41 ok 1 - validates default empty level in a pack
  123. 12822:00:41 ---
  124. 12922:00:41 duration_ms: 1.837104
  125. 13022:00:41 ...
  126. 13122:00:41 # Subtest: rejects unknown format_version
  127. 13222:00:41 ok 2 - rejects unknown format_version
  128. 13322:00:41 ---
  129. 13422:00:41 duration_ms: 0.560176
  130. 13522:00:41 ...
  131. 13622:00:41 # Subtest: rejects walls length mismatch
  132. 13722:00:41 ok 3 - rejects walls length mismatch
  133. 13822:00:41 ---
  134. 13922:00:41 duration_ms: 0.320324
  135. 14022:00:41 ...
  136. 14122:00:41 # Subtest: rejects unknown floor texture
  137. 14222:00:41 ok 4 - rejects unknown floor texture
  138. 14322:00:41 ---
  139. 14422:00:41 duration_ms: 0.240484
  140. 14522:00:41 ...
  141. 14622:00:41 # Subtest: migrates legacy Levels[] to pack with floors/ceilings/lights
  142. 14722:00:41 ok 5 - migrates legacy Levels[] to pack with floors/ceilings/lights
  143. 14822:00:41 ---
  144. 14922:00:41 duration_ms: 0.84861
  145. 15022:00:41 ...
  146. 15122:00:41 # Subtest: findLevelIndex by id, name, and index
  147. 15222:00:41 ok 6 - findLevelIndex by id, name, and index
  148. 15322:00:41 ---
  149. 15422:00:41 duration_ms: 0.271262
  150. 15522:00:41 ...
  151. 15622:00:41 # Subtest: toRuntimeLevel maps walls→tiles and spawn yaw
  152. 15722:00:41 ok 7 - toRuntimeLevel maps walls→tiles and spawn yaw
  153. 15822:00:41 ---
  154. 15922:00:41 duration_ms: 0.384184
  155. 16022:00:41 ...
  156. 16122:00:41 # Subtest: migrates v1 pack to v2 with ambient defaults
  157. 16222:00:41 ok 8 - migrates v1 pack to v2 with ambient defaults
  158. 16322:00:41 ---
  159. 16422:00:41 duration_ms: 0.314603
  160. 16522:00:41 ...
  161. 16622:00:41 # Subtest: parses build/levels.json
  162. 16722:00:41 ok 9 - parses build/levels.json
  163. 16822:00:41 ---
  164. 16922:00:41 duration_ms: 1.618082
  165. 17022:00:41 ...
  166. 17122:00:41 1..9
  167. 17222:00:41ok 5 - LevelFormat schema v1
  168. 17322:00:41 ---
  169. 17422:00:41 duration_ms: 8.382778
  170. 17522:00:41 type: 'suite'
  171. 17622:00:41 ...
  172. 17722:00:41# Subtest: Lighting
  173. 17822:00:41 # Subtest: attenuation reaches 0 at range and 1 at distance 0
  174. 17922:00:41 ok 1 - attenuation reaches 0 at range and 1 at distance 0
  175. 18022:00:41 ---
  176. 18122:00:41 duration_ms: 2.722584
  177. 18222:00:41 ...
  178. 18322:00:41 # Subtest: shadeRgb with light in front of floor is brighter than ambient
  179. 18422:00:41 ok 2 - shadeRgb with light in front of floor is brighter than ambient
  180. 18522:00:41 ---
  181. 18622:00:41 duration_ms: 0.412879
  182. 18722:00:41 ...
  183. 18822:00:41 # Subtest: LOS blocked by solid wall tile between light and sample
  184. 18922:00:41 ok 3 - LOS blocked by solid wall tile between light and sample
  185. 19022:00:41 ---
  186. 19122:00:41 duration_ms: 0.281431
  187. 19222:00:41 ...
  188. 19322:00:41 # Subtest: decodeNormalRgb maps 128,128,255 toward +Z
  189. 19422:00:41 ok 4 - decodeNormalRgb maps 128,128,255 toward +Z
  190. 19522:00:41 ---
  191. 19622:00:41 duration_ms: 0.223191
  192. 19722:00:41 ...
  193. 19822:00:41 # Subtest: worldDirToView: light to the character-right yields +X in view at yaw 0
  194. 19922:00:41 ok 5 - worldDirToView: light to the character-right yields +X in view at yaw 0
  195. 20022:00:41 ---
  196. 20122:00:41 duration_ms: 0.273155
  197. 20222:00:41 ...
  198. 20322:00:41 # Subtest: shadePaperdollPixel: light on left (+view X or -) differs from light on right
  199. 20422:00:41 ok 6 - shadePaperdollPixel: light on left (+view X or -) differs from light on right
  200. 20522:00:41 ---
  201. 20622:00:41 duration_ms: 0.62558
  202. 20722:00:41 ...
  203. 20822:00:41 1..6
  204. 20922:00:41ok 6 - Lighting
  205. 21022:00:41 ---
  206. 21122:00:41 duration_ms: 6.421179
  207. 21222:00:41 type: 'suite'
  208. 21322:00:41 ...
  209. 21422:00:41# Subtest: sprite occlusion z-buffer
  210. 21522:00:41 # Subtest: wall blocks farther sprite pixels
  211. 21622:00:41 ok 1 - wall blocks farther sprite pixels
  212. 21722:00:41 ---
  213. 21822:00:41 duration_ms: 1.185195
  214. 21922:00:41 ...
  215. 22022:00:41 # Subtest: nearer sprite wins over previous sprite
  216. 22122:00:41 ok 2 - nearer sprite wins over previous sprite
  217. 22222:00:41 ---
  218. 22322:00:41 duration_ms: 0.287271
  219. 22422:00:41 ...
  220. 22522:00:41 1..2
  221. 22622:00:41ok 7 - sprite occlusion z-buffer
  222. 22722:00:41 ---
  223. 22822:00:41 duration_ms: 3.023883
  224. 22922:00:41 type: 'suite'
  225. 23022:00:41 ...
  226. 23122:00:41# Subtest: PpdaLoader
  227. 23222:00:41 # Subtest: loads vendored male-body atlas
  228. 23322:00:41 ok 1 - loads vendored male-body atlas
  229. 23422:00:41 ---
  230. 23522:00:41 duration_ms: 23.092036
  231. 23622:00:41 ...
  232. 23722:00:41 # Subtest: body and sword are compatible
  233. 23822:00:41 ok 2 - body and sword are compatible
  234. 23922:00:41 ---
  235. 24022:00:41 duration_ms: 3.183804
  236. 24122:00:41 ...
  237. 24222:00:41 # Subtest: rejects path traversal in map files
  238. 24322:00:41 ok 3 - rejects path traversal in map files
  239. 24422:00:41 ---
  240. 24522:00:41 duration_ms: 0.432576
  241. 24622:00:41 ...
  242. 24722:00:41 # Subtest: rejects unknown format_version
  243. 24822:00:41 ok 4 - rejects unknown format_version
  244. 24922:00:41 ---
  245. 25022:00:41 duration_ms: 0.24948
  246. 25122:00:41 ...
  247. 25222:00:41 1..4
  248. 25322:00:41ok 8 - PpdaLoader
  249. 25422:00:41 ---
  250. 25522:00:41 duration_ms: 28.994388
  251. 25622:00:41 type: 'suite'
  252. 25722:00:41 ...
  253. 25822:00:41# Subtest: textureColumnIndex
  254. 25922:00:42 # Subtest: maps 0 to first column
  255. 26022:00:42 ok 1 - maps 0 to first column
  256. 26122:00:42 ---
  257. 26222:00:42 duration_ms: 1.244627
  258. 26322:00:42 ...
  259. 26422:00:42 # Subtest: maps almost-1 to last column
  260. 26522:00:42 ok 2 - maps almost-1 to last column
  261. 26622:00:42 ---
  262. 26722:00:42 duration_ms: 0.208623
  263. 26822:00:42 ...
  264. 26922:00:42 # Subtest: clamps above 1
  265. 27022:00:42 ok 3 - clamps above 1
  266. 27122:00:42 ---
  267. 27222:00:42 duration_ms: 0.207982
  268. 27322:00:42 ...
  269. 27422:00:42 # Subtest: clamps below 0
  270. 27522:00:42 ok 4 - clamps below 0
  271. 27622:00:42 ---
  272. 27722:00:42 duration_ms: 0.343057
  273. 27822:00:42 ...
  274. 27922:00:42 # Subtest: covers every source column for a dense tileX sweep
  275. 28022:00:42 ok 5 - covers every source column for a dense tileX sweep
  276. 28122:00:42 ---
  277. 28222:00:42 duration_ms: 0.475076
  278. 28322:00:42 ...
  279. 28422:00:42 1..5
  280. 28522:00:42ok 9 - textureColumnIndex
  281. 28622:00:42 ---
  282. 28722:00:42 duration_ms: 4.374078
  283. 28822:00:42 type: 'suite'
  284. 28922:00:42 ...
  285. 29022:00:42# Subtest: textureColumnUv
  286. 29122:00:42 # Subtest: always has source width 1 in UV space
  287. 29222:00:42 ok 1 - always has source width 1 in UV space
  288. 29322:00:42 ---
  289. 29422:00:42 duration_ms: 0.345491
  290. 29522:00:42 ...
  291. 29622:00:42 1..1
  292. 29722:00:42ok 10 - textureColumnUv
  293. 29822:00:42 ---
  294. 29922:00:42 duration_ms: 0.608187
  295. 30022:00:42 type: 'suite'
  296. 30122:00:42 ...
  297. 30222:00:42# Subtest: faceTileX (no +1 bias)
  298. 30322:00:42 # Subtest: north face uses local/size without +1/size shift
  299. 30422:00:42 ok 1 - north face uses local/size without +1/size shift
  300. 30522:00:42 ---
  301. 30622:00:42 duration_ms: 0.365218
  302. 30722:00:42 ...
  303. 30822:00:42 # Subtest: south face mirrors
  304. 30922:00:42 ok 2 - south face mirrors
  305. 31022:00:42 ---
  306. 31122:00:42 duration_ms: 1.112308
  307. 31222:00:42 ...
  308. 31322:00:42 1..2
  309. 31422:00:42ok 11 - faceTileX (no +1 bias)
  310. 31522:00:42 ---
  311. 31622:00:42 duration_ms: 1.871269
  312. 31722:00:42 type: 'suite'
  313. 31822:00:42 ...
  314. 31922:00:42# Subtest: PpdaViewFrame
  315. 32022:00:42 # Subtest: picks nearest yaw
  316. 32122:00:42 ok 1 - picks nearest yaw
  317. 32222:00:42 ---
  318. 32322:00:42 duration_ms: 1.127005
  319. 32422:00:42 ...
  320. 32522:00:42 # Subtest: frameIndex wraps
  321. 32622:00:42 ok 2 - frameIndex wraps
  322. 32722:00:42 ---
  323. 32822:00:42 duration_ms: 0.374797
  324. 32922:00:42 ...
  325. 33022:00:42 # Subtest: uvRect from view
  326. 33122:00:42 ok 3 - uvRect from view
  327. 33222:00:42 ---
  328. 33322:00:42 duration_ms: 0.296479
  329. 33422:00:42 ...
  330. 33522:00:42 # Subtest: relativeYawDeg front when looking at facing NPC
  331. 33622:00:42 ok 4 - relativeYawDeg front when looking at facing NPC
  332. 33722:00:42 ---
  333. 33822:00:42 duration_ms: 0.294515
  334. 33922:00:42 ...
  335. 34022:00:42 1..4
  336. 34122:00:42ok 12 - PpdaViewFrame
  337. 34222:00:42 ---
  338. 34322:00:42 duration_ms: 25.711868
  339. 34422:00:42 type: 'suite'
  340. 34522:00:42 ...
  341. 34622:00:42# Subtest: World.rayCast
  342. 34722:00:42 # Subtest: hits a solid wall ahead of spawn looking slightly south of east
  343. 34822:00:42 ok 1 - hits a solid wall ahead of spawn looking slightly south of east
  344. 34922:00:42 ---
  345. 35022:00:42 duration_ms: 4.396811
  346. 35122:00:42 ...
  347. 35222:00:42 # Subtest: tileX stays in [0,1] for many angles
  348. 35322:00:42 ok 2 - tileX stays in [0,1] for many angles
  349. 35422:00:42 ---
  350. 35522:00:42 duration_ms: 5.319061
  351. 35622:00:42 ...
  352. 35722:00:42 1..2
  353. 35822:00:42ok 13 - World.rayCast
  354. 35922:00:42 ---
  355. 36022:00:42 duration_ms: 11.329375
  356. 36122:00:42 type: 'suite'
  357. 36222:00:42 ...
  358. 36322:00:421..13
  359. 36422:00:42# tests 53
  360. 36522:00:42# suites 13
  361. 36622:00:42# pass 53
  362. 36722:00:42# fail 0
  363. 36822:00:42# cancelled 0
  364. 36922:00:42# skipped 0
  365. 37022:00:42# todo 0
  366. 37122:00:42# duration_ms 232.976276