Hello experts,
One of my colleagues (Till Straumann) has implemented a modification of EPICS mutexes (posix) to support priority inversion safety. (Originally for 3.14.12 but I have ported the change to EPICS 7 now). But there are two problems with the tests.
1. For backward compatibility reasons, the change depends on an environment variable which must be set before libCom is loaded. How to do that for the test? In MAIN, it is too late. Doing it on the command line does not seem to work well for ci.
2. The fix depends on SCHED_FIFO which can only be set with sufficient permissions. Thus, the test only succeeds as root and fails otherwise.
How to handle this? Is there a method to set environment variables before a specific test is run? (I could for course fork a new process but that seems rather clumsy). Is isforseen to run tests as root (only)?
Dirk
- Replies:
- Re: How to "tweak" tests? Ralph Lange via Core-talk
- Navigate by Date:
- Prev:
Re: AW: AW: AW: AW: Problems with hanging osiSockTest Torsten Bögershausen via Core-talk
- Next:
Re: How to "tweak" tests? Ralph Lange via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: New Travis CI pricing model Jeong Han Lee via Core-talk
- Next:
Re: How to "tweak" tests? Ralph Lange via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
|