]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest: lock down Meson git revision for reliability
authorRoss Burton <ross.burton@intel.com>
Mon, 5 Jun 2017 16:30:42 +0000 (17:30 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Jun 2017 16:58:57 +0000 (17:58 +0100)
commitb35bedd209092432c560e998043b6a8c5c2e4d34
treedfb98389ff5b0a4dc2b6143b320d8fa294d3627c
parent9256ce9884758f9eb81c384a3fc0d04243f4e3bd
oeqa/selftest: lock down Meson git revision for reliability

The test_recipetool_create_github test fetches HEAD of the repository so
upstream changes can (and do) break the test.  Avoid these problems by passing
the rev= argument in the URL to lock the checkout to the same version that is
fetched in the github_tarball test.

Also pass the commands to runCmd() as a list instead of a string, the semicolon
in the URL needs more quotes if the shell is involved and passing a list
bypasses the shell entirely.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/recipetool.py