support/testing: add tests for Rust
authorEric Le Bihan <eric.le.bihan.dev@free.fr>
Sun, 4 Feb 2018 18:07:49 +0000 (19:07 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 5 Feb 2018 13:57:48 +0000 (14:57 +0100)
commite9429539ec819ab32f73414deb05af632a9405cf
treef19d54881b5d20f6fb85fb36af170e51ea077cec
parentd0ac3c9b2119a45784494221b3a29f85eed826c5
support/testing: add tests for Rust

To test the support for the Rust language, the following tests are added:

- building Rust compiler and Cargo from source.
- installing a pre-built Rust compiler and building Cargo from source.

For each test, a Rust test program is built and installed in the root file
system of a ARM vexpress QEMU system. The test is declared OK if the program can
be run properly from the test system.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
support/testing/tests/package/test_rust.py [new file with mode: 0644]