Skip to contentSkip to conversation

Document configuration shadowing and clean up handling that in igt_core

Bug 111637 [email protected] 1 participant 2 messages Sep 11, 2019 – Nov 12, 2019

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #1 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/30.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel