summaryrefslogtreecommitdiffstats
path: root/remoting/run_all_unittests.cc
blob: 16e4f74617241118208bab093e2160881282baf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// 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) {
  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();
}