On 04/04/2018 04:51, Fam Zheng wrote: > Docker testing on patchew has long suffered from 'make check' hangings. The > cleanness of VM testing is the cure. Now let's add a CentOS 7 image to run the > tests. It's purely ad-hoc, but hopefully still easy to understand and use for > everyone. > > The first patch makes passing source code from host to the container in VM > working, and is a nice clean up. > > The second patch makes caches work, to speed up repetitive runs like on > patchew. > > The last patch adds the new image that does the job. Two out of three docker > tests running on patchew.org are added to the image. I'll wait for Peter to > fix > the 'docker-test-quick@centos6' hanging (oob test) before adding it too.
I think it's a good idea. The tests are the same as before, only the environment is more self-contained. Paolo > Fam > > Fam Zheng (3): > archive-source.sh: Drop submodule code > tests: Add an option for snapshot (default: off) > tests: Add centos VM testing > > scripts/archive-source.sh | 47 +++------------------------ > tests/vm/basevm.py | 7 +++- > tests/vm/centos | 82 > +++++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 92 insertions(+), 44 deletions(-) > create mode 100755 tests/vm/centos >