Skip to content

How to build UT #1

Open
Open
@omar-ocampo

Description

@omar-ocampo

Hello,

I'm building openbmc using yocto, including phosphor-user-manager however I noticed the UT are not being built, here is an extract of the log for do_compile:

make[2]: Leaving directory '/home/foo/openbmc/build/tmp/work/corei7-64-openbmc-linux/phosphor-user-manager/1.0-r1/phosphor-user-manager-1.0'
Making all in test
make[2]: Entering directory '/home/foo/openbmc/build/tmp/work/corei7-64-openbmc-linux/phosphor-user-manager/1.0-r1/phosphor-user-manager-1.0/test'
make[2]: Nothing to be done for 'all'.

make[2]: Leaving directory '/home/foo/openbmc/build/tmp/work/corei7-64-openbmc-linux/phosphor-user-manager/1.0-r1/phosphor-user-manager-1.0/test'
make[1]: Leaving directory '/home/foo/openbmc/build/tmp/work/corei7-64-openbmc-linux/phosphor-user-manager/1.0-r1/phosphor-user-manager-1.0'

Here is my configure command:

NOTE: Running ../../../../../../workspace/sources/phosphor-user-manager/configure
--build=x86_64-linux
--host=x86_64-openbmc-linux
--target=x86_64-openbmc-linux
--prefix=/usr
--exec_prefix=/usr
--bindir=/usr/bin
--sbindir=/usr/sbin
--libexecdir=/usr/libexec
--datadir=/usr/share
--sysconfdir=/etc
--sharedstatedir=/com
--localstatedir=/var
--libdir=/usr/lib
--includedir=/usr/include
--oldincludedir=/usr/include
--infodir=/usr/share/info
--mandir=/usr/share/man
--disable-silent-rules
--disable-dependency-tracking
--with-libtool-sysroot=/home/foo/openbmc/build/tmp/work/corei7-64-openbmc-linux/phosphor-user-manager/1.0-r1/recipe-sysroot
--disable-static

Am I missing something required in the configure step to be able to build UTs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions