Check unit test logs for runtime errors
This is to prevent unit tests to pass silently with runtime errors generated by AddressSanitizer:
[==========] Running 4 test(s).
[ RUN ] ns__query_sfcache_test
[ OK ] ns__query_sfcache_test
[ RUN ] ns__query_start_test
[ OK ] ns__query_start_test
[ RUN ] ns__query_hookasync_test
[ OK ] ns__query_hookasync_test
[ RUN ] ns__query_hookasync_e2e_test
query.c:5430:16: runtime error: load of value 190, which is not a valid value for type '_Bool'
[ OK ] ns__query_hookasync_e2e_test
[==========] 4 test(s) run.
[ PASSED ] 4 test(s).
PASS query_test (exit status: 0)
This change triggers #2446 (closed), #2455 (closed), and #2447 (closed).
Edited by Michal Nowak