From patchwork Tue Jun 21 10:23:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marius Vlad X-Patchwork-Id: 9190213 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 372166075E for ; Tue, 21 Jun 2016 10:20:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 277C027F93 for ; Tue, 21 Jun 2016 10:20:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B7512815E; Tue, 21 Jun 2016 10:20:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC89027F93 for ; Tue, 21 Jun 2016 10:20:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CA9496E0E5; Tue, 21 Jun 2016 10:20:28 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTP id D298F6E260 for ; Tue, 21 Jun 2016 10:20:25 +0000 (UTC) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP; 21 Jun 2016 03:20:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,503,1459839600"; d="scan'208";a="125883400" Received: from mcvlad-wk.rb.intel.com ([10.237.105.57]) by fmsmga004.fm.intel.com with ESMTP; 21 Jun 2016 03:20:25 -0700 From: Marius Vlad To: intel-gfx@lists.freedesktop.org Date: Tue, 21 Jun 2016 13:23:51 +0300 Message-Id: <1466504631-8304-1-git-send-email-marius.c.vlad@intel.com> X-Mailer: git-send-email 2.8.1 Subject: [Intel-gfx] [PATCH i-g-t] tests/vgem_reload_basic: Include drm_lib.sh to please check target. X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Scripts are required to have it included. Signed-off-by: Marius Vlad CC: Chris Wilson --- tests/vgem_reload_basic | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/vgem_reload_basic b/tests/vgem_reload_basic index b150b2c..d1897b3 100755 --- a/tests/vgem_reload_basic +++ b/tests/vgem_reload_basic @@ -5,6 +5,9 @@ # ... we've broken this way too often :( # +SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )" +. $SOURCE_DIR/drm_lib.sh + function unload() { /sbin/rmmod vgem # drm may be used by other devices (nouveau, radeon, udl, etc)