Skip to content

Do not display a dot for every assert() call in _YDBAIMTEST.m (clutters output)

Narayanan Iyer requested to merge nars1/YDBAIM:assertdot into master

Do not display a dot for every assert() call in _YDBAIMTEST.m (clutters output)

  • For example, below is one test run. See almost a 1000 dots displayed in the tcon4 line.
tcon2 - Concurrent xref of different globals..---------------- [OK] 30.845ms
tcon3 - Concurrent unxref of different globals....------------ [OK] 30.620ms
tcon4 - Concurrent xref of the same global..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
------------------------------------------------------------- [OK] 240.959ms
tcon5 - Test concurrent lsxref-------------------------------- [OK] 4828.978ms
tcon6 - Test concurrent xref, unxref, and lsxref together.---- [OK] 5361.870ms
  • Ideally, the upstream m-unit-test package should be fixed to not display the dot but not sure how easy it is therefore, I made a change in this project in the central assert() function to skip the tf^%ut call in the true case (the most common case).
Edited by Narayanan Iyer

Merge request reports