tests: Support --config to enable tests to override config defaults
authorBryce Harrington <bryce@osg.samsung.com>
Wed, 15 Apr 2015 22:31:11 +0000 (15:31 -0700)
committerBryce Harrington <bryce@osg.samsung.com>
Thu, 21 May 2015 22:05:48 +0000 (15:05 -0700)
commited2c644892824b70869783f768b53a1dbb3c06aa
treea8dc1f8413e2ec0eec718782339836fed1c4834d
parent273c285fa6a97db3753e87b4fd75f718b1855226
tests: Support --config to enable tests to override config defaults

Implements a simple mechanism to allow tests to customize the
configuration.  For a given <name>-test.c just place a <name>.ini file
at the same location as the test itself.  Alternately, you can generate
a <name>.ini in the same directory that the compiled test is placed
(i.e. the top builddir).  If no configuration file is found, then no
configuration will be used (i.e. --no-config is specified.)

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-By: Derek Foreman <derekf@osg.samsung.com>
Makefile.am
tests/weston-tests-env