From: <ch...@su...> - 2014-04-23 10:25:30
|
Hi! > I've thought about this. The problem is that these tools is only one way > of doing it. Performing CPU isolation in Linux is still something of a > black art, so my idea was to show one way that we have got it working > for at least some boards. Since how to do this is also dependent on > architecture, board, kernel version and kernel configuration I didn't > want to tie these script too closely to the test case since the test > case by itself is quite generic. > > Having these tools as copies in LTP repository gives additional > maintenance burden that I feel is unnecessary. The tools are needed for > other purposes as well, so moving them to LTP is not an option. > > But if you have a good idea how to solve this dilemma, I'd like to hear > about it. The best solution I can think of is to add the rt-tools as a git submodule in utils directory and install the required scripts on make install if submodules were initialized and pulled. On the test side we need to check if these scripts are in $PATH and exit with TCONF if not. Does this sound reasonable? -- Cyril Hrubis ch...@su... |