diff options
author | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2019-04-01 09:32:34 +0300 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2019-04-01 14:52:01 +0300 |
commit | 93cbe569582626793f79e5626970703059f88933 (patch) | |
tree | 8cb706c5a9c38e853424a1019aab1dfc089e2094 /lib/igt_pm.h | |
parent | 7cadc6105b00f8d8ef166929118a95ce69221603 (diff) |
runner: Refactor metadata parsing
To aid testing function parsing metadata.txt is split into outer helper
that operates on dirfd and inner function that operates on FILE*.
This allows us to test the parsing using fmemopen(), limiting the amount
of necessary boilerplate.
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'lib/igt_pm.h')
0 files changed, 0 insertions, 0 deletions