summaryrefslogtreecommitdiff
path: root/test/libtest/test.h
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2019-01-01 14:36:35 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-01-02 11:07:27 +0200
commit5802259b3c6ee48d1ee603595d462306f9293605 (patch)
tree18e715c427a63b9c55f002a54ebf0bd03df1359c /test/libtest/test.h
parenta9fe3adc4f1c4b7ab90e0d8ada844aa7e52b8a3f (diff)
test: Use foreach iterators to simplify definitions
Create two arrays, to contain public and internal test targets, and use the foreach iterators to automatically generate test output targets for each entry in each array. The public tests array is linked only against public libcamera headers, while tests declared in the internal_tests will have access to non-public API headers from within the libcamera sources. Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/libtest/test.h')
0 files changed, 0 insertions, 0 deletions