mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 00:05:59 +08:00
swaglog.cc: add test case. fixed the ctx of the first message is empty (#23226)
* test case * add to selfdrive_tests.yaml * fix ctx_j is empty * check return value too
This commit is contained in:
@@ -33,3 +33,4 @@ Export('_common', '_gpucommon', '_gpu_libs')
|
||||
|
||||
if GetOption('test'):
|
||||
env.Program('tests/test_util', ['tests/test_util.cc'], LIBS=[_common])
|
||||
env.Program('tests/test_swaglog', ['tests/test_swaglog.cc'], LIBS=[_common, 'json11', 'zmq', 'pthread'])
|
||||
|
||||
Reference in New Issue
Block a user