From patchwork Tue May 15 02:16:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 8972 Delivered-To: ffmpegpatchwork@gmail.com Received: by 2002:a02:155:0:0:0:0:0 with SMTP id c82-v6csp826600jad; Mon, 14 May 2018 19:16:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpMdUEfbAIiAYbdq/De2kAtvFpUsvqNJbYB1xJNN9xrLzKu2AdUFIj5kjEZg+5Wui9nmGCw X-Received: by 2002:adf:9654:: with SMTP id c20-v6mr9306433wra.89.1526350609591; Mon, 14 May 2018 19:16:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526350609; cv=none; d=google.com; s=arc-20160816; b=dZHbHKxJOVWkcpr3GifxPCBnzf+gAlEqlMk635VOYaWEEqSSzTyZV8XDC9+Zwqk8Lw GB6ZmPEHGs3cL+4iZhwkx3pBrEsJN6li6HQPxh5KvgS2mkq+yYV5AylvZgY34I84YKyn E2oGvQOh4RSMzaCto9RooRXALC/Os4fbnUfzmjiQxGKi+c14HvUr+/Ez/WIczzj/uYtu ZsTZdIq6/bSM3LJ7+t5tZSvlz8WHvf2WQ7AIg5XWg9qn9K+QK7Ns1tZMjSPIFBhlfFiK Y6ku1gIa8XMlErpfdD19j1SJJ6gJgvLBkL7h1s66TOzmg5XeFypmCWRJulW43nyKxZR0 fivw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject:user-agent :in-reply-to:mime-version:references:message-id:to:from:date :delivered-to:arc-authentication-results; bh=3EaGK2aORSKH6uYM1cqOOHud0fnsk4yzH5jpQ1HvWDg=; b=xBE+e0TBcWOxxTfVAVs6K5SHnLNtEpAt3swLGygr+zsdyyV0c4Je05gv591sZN4zyj ehA0KTQPdfvtWoxr+6O8iVpE0iGke33S8D/Ed8jfl1fzI5sdXmeIh7yepUE2rkZz1wu5 jSqig9RgNjDP3/B/682Xinfeb+WNBWy88/WOCbFabFtRYuoTpraFIkROVW78niQ43bna xxAoFGx6uw1peHHnXbGWuuTbZ2XLu/YaX9ZzAh7xJ1VeybUQPfK0v82aJNPf/V9lnDLX 5g5BuqKsvTSuBcLlQuqiduCLV6NRHz+rxm4jZadhmbC8iNRF62CdXfodpBvOkv8Sik7l 38mQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id l4-v6si8907371wre.311.2018.05.14.19.16.48; Mon, 14 May 2018 19:16:49 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E7AD3689F78; Tue, 15 May 2018 05:16:08 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6F81F689D9C for ; Tue, 15 May 2018 05:16:02 +0300 (EEST) X-Originating-IP: 213.47.41.20 Received: from localhost (213-47-41-20.cable.dynamic.surfer.at [213.47.41.20]) (Authenticated sender: michael@niedermayer.cc) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 4DB2A1BF206 for ; Tue, 15 May 2018 04:16:44 +0200 (CEST) Date: Tue, 15 May 2018 04:16:38 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20180515021638.GW20131@michaelspb> References: <20180514215858.11461-1-sw@jkqxz.net> <20180514215858.11461-3-sw@jkqxz.net> MIME-Version: 1.0 In-Reply-To: <20180514215858.11461-3-sw@jkqxz.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Level: Subject: Re: [FFmpeg-devel] [PATCH 3/3] hwcontext: Add test for device creation and derivation X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" On Mon, May 14, 2018 at 10:58:58PM +0100, Mark Thompson wrote: > This uses any devices it can find on the host system - on a system with no > hardware device support or in builds with no support included it will do > nothing and pass. > --- > libavutil/Makefile | 1 + > libavutil/tests/hwdevice.c | 234 +++++++++++++++++++++++++++++++++++++++++++++ > tests/fate/libavutil.mak | 4 + > tests/ref/fate/hwdevice | 1 + > 4 files changed, 240 insertions(+) > create mode 100644 libavutil/tests/hwdevice.c > create mode 100644 tests/ref/fate/hwdevice does not work here (over ssh if that matters) Test hwdevice failed. Look at tests/data/fate/hwdevice.err for details. X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 154 (DRI2) Minor opcode of failed request: 1 (DRI2Connect) Serial number of failed request: 11 Current serial number in output stream: 11 make: *** [fate-hwdevice] Error 1 [...] --- ./tests/ref/fate/hwdevice 2018-05-15 04:12:44.462164238 +0200 +++ tests/data/fate/hwdevice 2018-05-15 04:13:04.606164152 +0200 @@ -1 +0,0 @@ -Passed.