summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-08-02 19:42:53 +0200
committerMax Kellermann <max@musicpd.org>2018-08-02 19:42:53 +0200
commit027e562f65547f0a905e05c52b44b0461c6edf10 (patch)
treea69b56dc85b897d56e626e3ed6fc270b8ef3e018 /test
parent2d2120338b0fe6eec2d41b69bf534724a60054e0 (diff)
song/OptimizeFilter: optimization stage for filters
Diffstat (limited to 'test')
-rw-r--r--test/ParseSongFilter.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ParseSongFilter.cxx b/test/ParseSongFilter.cxx
index 7f368a03a..f2d248608 100644
--- a/test/ParseSongFilter.cxx
+++ b/test/ParseSongFilter.cxx
@@ -41,6 +41,7 @@ try {
SongFilter filter;
filter.Parse(ConstBuffer<const char *>(argv + 1, argc - 1));
+ filter.Optimize();
puts(filter.ToExpression().c_str());
return EXIT_SUCCESS;