test: Add Thread test cases

The Thread test case verifies that

- a Thread instance is created for the main thread
- a new Thread can be created, started, and stopped

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
Laurent Pinchart
2019-03-24 03:21:09 +02:00
parent cc3ae13d9e
commit a7fb1db1fa
2 changed files with 94 additions and 0 deletions
+1
View File
@@ -21,6 +21,7 @@ public_tests = [
internal_tests = [
['camera-sensor', 'camera-sensor.cpp'],
['threads', 'threads.cpp'],
]
foreach t : public_tests