summaryrefslogtreecommitdiffstats
path: root/remoting/run_all_unittests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/run_all_unittests.cc')
-rw-r--r--remoting/run_all_unittests.cc13
1 files changed, 12 insertions, 1 deletions
diff --git a/remoting/run_all_unittests.cc b/remoting/run_all_unittests.cc
index 2571950..16e4f74 100644
--- a/remoting/run_all_unittests.cc
+++ b/remoting/run_all_unittests.cc
@@ -2,8 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/file_path.h"
+#include "base/logging.h"
+#include "base/path_service.h"
#include "base/test/test_suite.h"
+#include "media/base/media.h"
int main(int argc, char** argv) {
- return base::TestSuite(argc, argv).Run();
+ base::TestSuite test_suite(argc, argv);
+
+ // Load the media library so we can use libvpx.
+ FilePath path;
+ PathService::Get(base::DIR_MODULE, &path);
+ CHECK(media::InitializeMediaLibrary(path))
+ << "Cannot load media library";
+ return test_suite.Run();
}