[libcamera-devel] Usage of test folder
Kieran Bingham
kieran.bingham at ideasonboard.com
Mon Jun 15 10:22:04 CEST 2020
Hi Naidu,
On 15/06/2020 08:39, Jacopo Mondi wrote:
> Hi Naidu,
>
> On Mon, Jun 15, 2020 at 12:42:40PM +0530, naidu nama wrote:
>> Hi team,
>> I am able to run the libcamera using gstreamer plugin
>> but I want to know the usage of test folder under libcamera directory
>
> I am not sure to fully understand your question, are you wondering how
> to run tests ?
>
> The test/ directory contains unit tests, roughly divided into
> categories (camera, controls, etc..)
>
> Tests can be run indivdually as they're exectutables, but they are
> mainly run through the meson unit test system
> https://mesonbuild.com/Unit-tests.html
>
> You can simply run 'ninja test' and have all of them executed by the
> meson build system.
Please note that quite a few of them rely on the existence of the
virtual media controller test driver provided by the kernel.
Before running the tests run:
sudo modprobe vimc
sudo modprobe vim2m
--
Regards
Kieran
>
> Thanks
> j
>> _______________________________________________
>> libcamera-devel mailing list
>> libcamera-devel at lists.libcamera.org
>> https://lists.libcamera.org/listinfo/libcamera-devel
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel at lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel
>
--
Regards
--
Kieran
More information about the libcamera-devel
mailing list