We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a95460 commit 5741aabCopy full SHA for 5741aab
1 file changed
utest/ctest.h
@@ -373,12 +373,14 @@ static void __ctest_linkTests(void)
373
struct ctest ** ctest_end = (struct ctest **)__PNAME(suite, test);
374
375
// find begin and end of section by comparing magics
376
- while (1) {
+#if 0
377
+ while (1) {
378
struct ctest** t = __CTEST_POINTER_PREV(ctest_begin);
379
if (t[0] == NULL) break;
380
if (t[1] != (struct ctest*)__CTEST_MAGIC) break;
381
ctest_begin = t;
382
}
383
+#endif
384
while (1) {
385
struct ctest** t = __CTEST_POINTER_NEXT(ctest_end);
386
0 commit comments