<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/testing-cameras-with-lc-compliance-on-kernelci-hsg1htyye" -->

---
title: Testing cameras with lc-compliance on KernelCI | daily.dev
description: During the first KernelCI hackfest, organized jointly by Google Chrome OS and Collabora, lc-compliance (libcamera's testing tool) was integrated into KernelCI...
canonical: https://daily.dev/posts/testing-cameras-with-lc-compliance-on-kernelci-hsg1htyye
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Testing cameras with lc-compliance on KernelCI | daily.dev
og:description: During the first KernelCI hackfest, organized jointly by Google Chrome OS and Collabora, lc-compliance (libcamera's testing tool) was integrated into KernelCI...
og:url: https://daily.dev/posts/testing-cameras-with-lc-compliance-on-kernelci-hsg1htyye
og:image: https://api.daily.dev/og/posts/hSG1HtYYe.png
og:image:alt: Testing cameras with lc-compliance on KernelCI
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Testing cameras with lc-compliance on KernelCI

**[Collabora Blog](https://daily.dev/sources/collabora)** · 4 min read · 0 upvotes · 0 comments

## Summary

During the first KernelCI hackfest, organized jointly by Google Chrome OS and Collabora, lc-compliance (libcamera's testing tool) was integrated into KernelCI to detect Linux kernel regressions affecting camera functionality. The work involved creating a new rootfs definition with libcamera's dependencies, building libcamera and lc-compliance from source, writing a parser to translate lc-compliance output into LAVA-compatible test result signals, and configuring the test to run on the mt8173-elm-hana device with a USB camera in Collabora's LAVA lab. The test now runs automatically after kernel updates in KernelCI-tracked trees.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.collabora.com/news-and-blog/blog/2021/06/15/testing-cameras-with-lc-compliance-kernelci>

## Questions this post answers

### How do I integrate a custom test tool into KernelCI using LAVA?

Integrating a custom test tool into KernelCI requires creating a rootfs definition listing runtime dependencies, a build script that compiles the tool from source, and an output parser that translates the tool's results into LAVA test-case signals via calls like `lava-test-case --result <result>`. Finally, the test must be registered in KernelCI's test-configs.yaml and lab-configs.yaml for the target devices.

_Engineers wiring up new hardware tests in KernelCI track integration patterns like this on daily.dev._

### What does lc-compliance test and what platforms does it support?

lc-compliance is libcamera's compliance testing tool that verifies image capture works correctly across different platforms and image quality settings. At the time of its KernelCI integration it was newly added and had limited tests, initially running on the mt8173-elm-hana board which has an integrated USB camera, with plans to expand to other camera-equipped devices.

_Developers working with libcamera on embedded Linux boards follow ecosystem updates like these on daily.dev._

---

Tags: [#linux](https://daily.dev/tags/linux), [#testing](https://daily.dev/tags/testing)

[View this post on daily.dev](https://daily.dev/posts/testing-cameras-with-lc-compliance-on-kernelci-hsg1htyye)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Testing cameras with lc-compliance on KernelCI","url":"https://daily.dev/posts/testing-cameras-with-lc-compliance-on-kernelci-hsg1htyye","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/testing-cameras-with-lc-compliance-on-kernelci-hsg1htyye"},"datePublished":"2026-08-11T08:53:44.262Z","dateModified":"2026-08-11T09:10:49.110Z","description":"During the first KernelCI hackfest, organized jointly by Google Chrome OS and Collabora, lc-compliance (libcamera's testing tool) was integrated into KernelCI...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a570e70e793a2825cc21c0867ec00bc1?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a570e70e793a2825cc21c0867ec00bc1?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Collabora Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Collabora Blog","logo":"https://media.daily.dev/image/upload/s--ZGZ0FjqS--/f_auto,q_auto/v1786438306/logos/collabora?_a=BAMAMicg0","url":"https://daily.dev/sources/collabora"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/testing-cameras-with-lc-compliance-on-kernelci-hsg1htyye","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"linux,testing","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Collabora Blog","item":"https://daily.dev/sources/collabora"},{"@type":"ListItem","position":3,"name":"Testing cameras with lc-compliance on KernelCI"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/testing-cameras-with-lc-compliance-on-kernelci-hsg1htyye#faq","mainEntity":[{"@type":"Question","name":"How do I integrate a custom test tool into KernelCI using LAVA?","acceptedAnswer":{"@type":"Answer","text":"Integrating a custom test tool into KernelCI requires creating a rootfs definition listing runtime dependencies, a build script that compiles the tool from source, and an output parser that translates the tool's results into LAVA test-case signals via calls like `lava-test-case --result <result>`. Finally, the test must be registered in KernelCI's test-configs.yaml and lab-configs.yaml for the target devices. Engineers wiring up new hardware tests in KernelCI track integration patterns like this on daily.dev."}},{"@type":"Question","name":"What does lc-compliance test and what platforms does it support?","acceptedAnswer":{"@type":"Answer","text":"lc-compliance is libcamera's compliance testing tool that verifies image capture works correctly across different platforms and image quality settings. At the time of its KernelCI integration it was newly added and had limited tests, initially running on the mt8173-elm-hana board which has an integrated USB camera, with plans to expand to other camera-equipped devices. Developers working with libcamera on embedded Linux boards follow ecosystem updates like these on daily.dev."}}]}
```

