Hi all,
I have a bunch of custom testcases (oeqa/runtime/cases) which are
interacting with "d" from the build host - basically fetching some info
while executing the test, e.g.
foo = self.tc.td['MY_CUSTOM_VAR']
What I've seen is that these files create python __pycache__ files
during parsing of the testimage run.
On the initial run everything is working like expected, but if I now
change the variable "MY_CUSTOM_VAR", without modifying the
target-filesystem the value inside the test case doesn't get updated.
Did anyone else encountered this?
To me it seems like the value of the var does make it into the pycache
files, ignoring the updated value on a second run.
On that note: wouldn't it make sense to disable the cache creation for
oeqa test cases? just to mitigate chances of such scenarios?
Or maybe I'm doing something wrong here, so any pointers are highly
appreciated.
Regards
Konrad
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#51873): https://lists.yoctoproject.org/g/yocto/message/51873
Mute This Topic: https://lists.yoctoproject.org/mt/79421453/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-