mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
test: add "strict" JSON tests
Adapt an existing JSON parsing test suite from https://github.com/nst/JSONTestSuite for SPA JSON.
This commit is contained in:
parent
11e20ef7a8
commit
e63e8b8a37
3 changed files with 341 additions and 0 deletions
|
|
@ -787,6 +787,7 @@ static void set_test_env(struct pwtest_context *ctx, struct pwtest_test *t)
|
|||
replace_env(t, "ACP_PATHS_DIR", SOURCE_ROOT "/spa/plugins/alsa/mixer/paths");
|
||||
replace_env(t, "ACP_PROFILES_DIR", SOURCE_ROOT "/spa/plugins/alsa/mixer/profile-sets");
|
||||
replace_env(t, "PIPEWIRE_LOG_SYSTEMD", "false");
|
||||
replace_env(t, "PWTEST_DATA_DIR", SOURCE_ROOT "/test/data");
|
||||
}
|
||||
|
||||
static void close_pipes(int fds[_FD_LAST])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue