summaryrefslogtreecommitdiffstats
path: root/media/omx/run_all_unittests.cc
blob: b28ef94bd67ab7756dffbf40a62ac6e72c6bbb0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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/test/test_suite.h"
#include "media/base/media.h"

int main(int argc, char** argv) {
  // Load the OpenMAX library.
  if (!media::InitializeOpenMaxLibrary(FilePath())) {
    LOG(ERROR) << "Unable to initialize OpenMAX library.";
    return -1;
  }
  return base::TestSuite(argc, argv).Run();
}