[libcamera-devel] Usage of test folder

naidu nama naidu.nama at gmail.com
Mon Jun 15 14:50:07 CEST 2020


Hi team,
I am not able to run the command ninja test
root at IM-RT-LP-444:/home/vnama/camera/libcamera# ninja test
ninja: error: loading 'build.ninja': No such file or directory

And where does the test results will store(eg:under
test/camera->./capture(executable is there).where does this result
store).

Thanks,
naidu.

On Mon, Jun 15, 2020 at 1:06 PM Jacopo Mondi <jacopo at jmondi.org> 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.
>
> Thanks
>   j
> > _______________________________________________
> > libcamera-devel mailing list
> > libcamera-devel at lists.libcamera.org
> > https://lists.libcamera.org/listinfo/libcamera-devel


More information about the libcamera-devel mailing list