From: Hailin Gu Subject: [i-g-t] many testcases skiped Date: Tue, 11 Jul 2017 19:50:43 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1650325906==" Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2EAF96E1CD for ; Tue, 11 Jul 2017 11:49:45 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org Cc: philip.li@intel.com, zhijianx.li@intel.com List-Id: intel-gfx@lists.freedesktop.org This is a multi-part message in MIME format. --===============1650325906== Content-Type: multipart/alternative; boundary="------------206D029C63091A4EE9994DD7" This is a multi-part message in MIME format. --------------206D029C63091A4EE9994DD7 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi~ all, I want to run the testcases of igt, but there are some problems during that. Lots of testcase started with gem and kms skiped. Thanks for your helping. I make the piglit and igt by following steps $cd piglit $cmake . $male $make install $cd intel-gpu-tools $./autogen $make All of these steps are successful. And I write the path of igt in piglit.conf. running the tests by calling "./piglit run igt -t gem_sync /tmp" But all the case shows skip. Here is the output. root@lkp-skl-sp1 /lkp/benchmarks/piglit# ./bin/piglit run igt -t gem_sync /tmp [46/46] skip: 46 Further, I try to run the test case directly, by running the test program in igt. All the case skiped with following tips. root@lkp-skl-sp1 /lkp/benchmarks/piglit/lib/piglit/bin/igt/tests# ./gem_sync IGT-Version: 1.19-g4258cc8e (x86_64) (Linux: 4.9.0 x86_64) Test requirement not met in function drm_open_driver, file drmtest.c:359: Test requirement: !(fd<0) No known gpu found Last errno: 2, No such file or directory my environment: - Linux lkp-skl-sp1 4.9.0 - cpu skylake i7-6700 May I have something ignored? Or What kind of equipment can meet the test requirements? Thank you Gu --------------206D029C63091A4EE9994DD7 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hi~ all,

I want to run the testcases of igt, but there are some problems during that. Lots of testcase started with gem and kms skiped.

Thanks for your helping.


I make the piglit and igt by following steps

    $cd piglit

    $cmake .

    $male

    $make install

    $cd intel-gpu-tools

    $./autogen

    $make

All of these steps are successful. And I write the path of igt in piglit.conf. running the tests by calling

    "./piglit run igt -t gem_sync /tmp"

But all the case shows skip. Here is the output.

    root@lkp-skl-sp1 /lkp/benchmarks/piglit# ./bin/piglit run igt -t gem_sync /tmp
    [46/46] skip: 46


Further, I try to run the test case directly, by running the test program in igt. All the case skiped with following tips.

    root@lkp-skl-sp1 /lkp/benchmarks/piglit/lib/piglit/bin/igt/tests# ./gem_sync
    IGT-Version: 1.19-g4258cc8e (x86_64) (Linux: 4.9.0 x86_64)
    Test requirement not met in function drm_open_driver, file drmtest.c:359:
    Test requirement: !(fd<0)
    No known gpu found
    Last errno: 2, No such file or directory
           

my environment:

 - Linux lkp-skl-sp1 4.9.0

 -  cpu skylake i7-6700

May I have something ignored? Or What kind of equipment can meet the test requirements?



Thank you

Gu
--------------206D029C63091A4EE9994DD7-- --===============1650325906== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSW50ZWwtZ2Z4 IG1haWxpbmcgbGlzdApJbnRlbC1nZnhAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vaW50ZWwtZ2Z4Cg== --===============1650325906==--