[LinuxCNC/linuxcnc Issue#128] tests, packaging: make it possible to package the tests and run them from an installed system

未分类 bolang 4个月前 (10-15) 26次浏览

Issue #128 | 状态: 进行中 | 作者: jepler | 创建时间: 2016-07-29


This is tricky due to the tests which need to compile and install components in the course of running. The rest is probably just drudgery.

This would be good to have so that we can build once (to .deb) then install and run tests. It’s particularly good with uspace-plus, because you build once and then run on up to 4 different underlying RTOSes. (that will need a pile of buildbot work which is probably its own issue)


评论 (3)

#1 – zultron 于 2020-06-08

I probably have a patch for this for a 2.8-pre branch. Want a PR?


#2 – jepler 于 2020-06-08

Yes please


#3 – zultron 于 2020-06-10

See #888. (Very lucky number here in China!)

It turns out I didn’t actually have a patch, but I’ve spent so much time with tests in the past that it wasn’t terribly difficult.

To solve the problem where tests must compile and install comps, the tests simply use sudo halcompile --install for non-RIP builds. In Machinekit, I added code to load comps from a user $MODULE_DIR, but that wouldn’t work for kthreads.


原始Issue: https://github.com/LinuxCNC/linuxcnc/issues/128

喜欢 (0)