[Libguestfs] [PATCH v5 2/7] tests/c-api: Convert the C API tests to use the test harness.

Pino Toscano ptoscano at redhat.com
Tue Oct 21 14:40:10 UTC 2014

On Sunday 05 October 2014 14:08:36 Richard W.M. Jones wrote:
> This involves some significant changes to this test framework.
> In particular:
>  - Instead of just specifying $srcdir at the start of a FileIn
>    path, you can now specify arbitrary environment variables.
>    This is necessary to allow the tests to run from a tmpdir.
>  - Use COPYING instead of COPYING.LIB, and copy that file into
>    the test suite directory.
>  - Require the static binaries (test-command, test-pwd) in order
>    to run tests.
>  - Don't conditionalize the C++ tests.  Instead if a C++ compiler
>    is not available then we build a "skip" script.

I'd be fine to the part that changes tests/c-api/tests so the data are 
read from $datadir. I will split that out.

Pino Toscano

More information about the Libguestfs mailing list