From patchwork Wed Sep 9 08:06:14 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuang He X-Patchwork-Id: 46692 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8AMh0hM019775 for ; Thu, 10 Sep 2009 22:43:00 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 300469E9FB; Wed, 9 Sep 2009 01:06:18 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 998D59E9F2 for ; Wed, 9 Sep 2009 01:06:16 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 09 Sep 2009 01:02:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,357,1249282800"; d="scan'208";a="725259810" Received: from she4-mobl.ccr.corp.intel.com (HELO [10.239.13.58]) ([10.239.13.58]) by fmsmga001.fm.intel.com with ESMTP; 09 Sep 2009 01:09:16 -0700 Message-ID: <4AA761F6.2040804@intel.com> Date: Wed, 09 Sep 2009 16:06:14 +0800 From: Shuang He User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: "Romanick, Ian D" Cc: "intel-gfx@lists.freedesktop.org" Subject: [Intel-gfx] Fix one Macro definition in piglit X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Just found a few tests under piglit/tests/shaders/ always complaint it can't find its program. It's due to a Macro definition is wrong in piglit CMakeList.txt. Following patch seems fixes it: Thanks --Shuang diff --git a/tests/shaders/CMakeLists.txt b/tests/shaders/CMakeLists.txt index 964fca1..398633c 100644 --- a/tests/shaders/CMakeLists.txt +++ b/tests/shaders/CMakeLists.txt @@ -21,7 +21,7 @@ link_libraries ( ${GLEW_glew_LIBRARY} ) -add_definitions ( -DSOURCE_DIR="\\\"${piglit_SOURCE_DIR}/\\\"" ) +add_definitions ( -DSOURCE_DIR="${piglit_SOURCE_DIR}/" ) add_executable (trinity-fp1 trinity-fp1.c) add_executable (fp-lit-mask fp-lit-mask.c)