]> code.ossystems Code Review - openembedded-core.git/commit
lib/oeqa/selftest/cases/gotoolchain: add selftest for the Go toolchain
authorJoshua Lock <joshua.g.lock@intel.com>
Wed, 4 Oct 2017 16:22:48 +0000 (17:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 Nov 2017 19:54:22 +0000 (19:54 +0000)
commitbca999644e28e1666357bcbeab685547c6f9dd65
treef645b789110a9a2c63cfc2018d0ae69328b54133
parent80db3d999ae26d298d9d5418a32b11a4f27af9d5
lib/oeqa/selftest/cases/gotoolchain: add selftest for the Go toolchain

Add a simple test case to being testing of the Go toolchain:
1) build meta-go-toolchain
2) create a temp directory and install the generated Go toolchain within
3) fetch an archive of the Go Dep tool
4) create an appropriately laid out GOROOT and inflate the dep archive there
5) build the dep command with the SDK's Go toolchain and check it returned
   successfully.

[YOCTO #12152]

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/selftest/cases/gotoolchain.py [new file with mode: 0644]