[Libva] [PATCH 1/2] test/basic: update to new API

Xiang, Haihao haihao.xiang at intel.com
Fri May 18 22:31:48 PDT 2012


> -----Original Message-----
> From: libva-bounces+haihao.xiang=intel.com at lists.freedesktop.org
> [mailto:libva-bounces+haihao.xiang=intel.com at lists.freedesktop.org] On
> Behalf Of Matt Turner
> Sent: Friday, May 18, 2012 7:40 PM
> To: Huang, Haitao
> Cc: libva at lists.freedesktop.org
> Subject: Re: [Libva] [PATCH 1/2] test/basic: update to new API
> 
> On Thu, May 17, 2012 at 6:47 PM, Haitao Huang <haitao.huang at intel.com>
> wrote:
> > Signed-off-by: Haitao Huang <haitao.huang at intel.com>
> > ---
> >  test/basic/Makefile.am   |    8 ++++----
> >  test/basic/test_07.c     |    8 ++++----
> >  test/basic/test_08.c     |    2 +-
> >  test/basic/test_09.c     |    2 +-
> >  test/basic/test_10.c     |    2 +-
> >  test/basic/test_11.c     |    2 +-
> >  test/basic/test_common.c |    2 ++
> >  7 files changed, 14 insertions(+), 12 deletions(-)
> >
> > diff --git a/test/basic/Makefile.am b/test/basic/Makefile.am index
> > c84c264..36f865d 100644
> > --- a/test/basic/Makefile.am
> > +++ b/test/basic/Makefile.am
> > @@ -20,12 +20,12 @@
> >  # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
> WITH THE
> >  # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
> >
> > -check_PROGRAMS = test_01 test_02 test_03 test_04 test_05 test_06 \
> > +bin_PROGRAMS = test_01 test_02 test_03 test_04 test_05 test_06 \
> >                test_07 test_08 test_09 test_10 test_11
> 
> Changing check to bin will cause these test programs to be installed to the
> users' systems. That doesn't seem right. They're test programs
> -- they should be check_PROGRAMS.

It is better to use noinst_PROGRAMS. All noinst_PROGRAMS will be built by default however not to be installed. 


More information about the Libva mailing list