diff options
author | Max Kellermann <max@musicpd.org> | 2018-07-18 09:42:56 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-07-18 10:25:02 +0200 |
commit | 49efb6071cbb42384ba8abb7a4696a375c1f8f36 (patch) | |
tree | dd8c6aba8f2ac9fd443ca48619794d220ca88b1d /test | |
parent | 8df98932b111bf1cdd219d47f3e418761d38d664 (diff) |
config/Migrate: library to migrate deprecated settings
Diffstat (limited to 'test')
-rw-r--r-- | test/run_filter.cxx | 2 | ||||
-rw-r--r-- | test/run_output.cxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/run_filter.cxx b/test/run_filter.cxx index fef36b4c0..47e61a2ca 100644 --- a/test/run_filter.cxx +++ b/test/run_filter.cxx @@ -21,6 +21,7 @@ #include "config/Param.hxx" #include "config/Data.hxx" #include "config/File.hxx" +#include "config/Migrate.hxx" #include "fs/Path.hxx" #include "AudioParser.hxx" #include "AudioFormat.hxx" @@ -79,6 +80,7 @@ try { ConfigData config; ReadConfigFile(config, config_path); + Migrate(config); /* parse the audio format */ diff --git a/test/run_output.cxx b/test/run_output.cxx index 9f9c5c1c6..fbfd57947 100644 --- a/test/run_output.cxx +++ b/test/run_output.cxx @@ -24,6 +24,7 @@ #include "config/Param.hxx" #include "config/Data.hxx" #include "config/File.hxx" +#include "config/Migrate.hxx" #include "config/Option.hxx" #include "config/Block.hxx" #include "event/Thread.hxx" @@ -124,6 +125,7 @@ try { ConfigData config; ReadConfigFile(config, config_path); + Migrate(config); EventThread io_thread; io_thread.Start(); |