Igor Matheus Andrade Torrente ad41a88535 tests: Add a way to write a Weston.ini inside the test
Currently doesn't exist a standard way to write a weston.ini inside a test.

Here, two new functions `weston_ini_setup` and `cfgln` are introduced to
help the test writer to write a weston.ini file and load it to the test.
And `internal-screenshot-test` is converted to use the new method of write
a weston.ini. This conversion serves as example and initial API test.

The tester needs to call `weston_test_harness_execute_as_client` or
`weston_test_harness_execute_as_plugin` in the same way as before.
The `weston_ini_setup` will fill the setup->config_file with the
correct path to the weston.ini file.

The main design goal is to avoid pre-made or build-made weston.ini(s)
and keep the test as self-contained as possible.

Closes:#410
Signed-off-by: Igor Matheus Andrade Torrente <igormtorrente@gmail.com>
2020-09-05 07:14:49 +00:00
..
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2017-01-23 14:12:06 +02:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2020-01-30 10:10:35 +00:00
2016-06-23 17:44:54 +03:00
2020-01-30 10:10:35 +00:00