[Bug 111637] Document configuration shadowing and clean up handling that in igt_core

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 11 05:14:49 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111637

            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 at lists.freedesktop.org
          Reporter: arkadiusz.hiler at 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190911/d03bfdc0/attachment.html>


More information about the dri-devel mailing list