From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 111637] Document configuration shadowing and clean up handling that in igt_core Date: Wed, 11 Sep 2019 05:14:49 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0962879628==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 9CE416EA03 for ; Wed, 11 Sep 2019 05:14:49 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0962879628== Content-Type: multipart/alternative; boundary="15681788891.EcEF72CEC.21878" Content-Transfer-Encoding: 7bit --15681788891.EcEF72CEC.21878 Date: Wed, 11 Sep 2019 05:14:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D111637 Bug ID: 111637 Summary: Document configuration shadowing and clean up handling that in igt_core Product: DRI Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: not set Component: IGT Assignee: dri-devel@lists.freedesktop.org Reporter: arkadiusz.hiler@intel.com The current agreed order of importance is as follows: .igtrc < ENV < --switch or to put it in words .igtrc option is less important than ENV .igtrc and ENV are both less important than --switch Real world example: https://patchwork.freedesktop.org/series/63553/ device for IGT execution can be specified as Common::Device in .igtrc, IGT_DEVICE env variable or --device switch on command line. The idea is that .igtrc is the default set on the machine that can be overwritten for the whole session with env or just for a single test with --device. This needs to be documented and the whey we handle this in igt_core.c could= use some streamlining. --=20 You are receiving this mail because: You are the assignee for the bug.= --15681788891.EcEF72CEC.21878 Date: Wed, 11 Sep 2019 05:14:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 111637
Summary Document configuration shadowing and clean up handling that i= n igt_core
Product DRI
Version unspecified
Hardware Other
OS All
Status NEW
Severity normal
Priority not set
Component IGT
Assignee dri-devel@lists.freedesktop.org
Reporter arkadiusz.hiler@intel.com

The current agreed order of importance is as follows:
.igtrc < ENV < --switch

or to put it in words
.igtrc option is less important than ENV
.igtrc and ENV are both less important than --switch

Real world example:
https://patchwo=
rk.freedesktop.org/series/63553/

device for IGT execution can be specified as Common::Device in .igtrc,
IGT_DEVICE env variable or --device switch on command line.

The idea is that .igtrc is the default set on the machine that can be
overwritten for the whole session with env or just for a single test with
--device.

This needs to be documented and the whey we handle this in igt_core.c could=
 use
some streamlining.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15681788891.EcEF72CEC.21878-- --===============0962879628== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0962879628==--