about summary refs log tree commit diff homepage
path: root/unittests/TestMain.cpp
blob: 9a64a4afef9bd70e2d4128a3bfbd8be51e28ec28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//===--- unittests/TestMain.cpp - unittest driver -------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#include "gtest/gtest.h"

// WARNING: If LLVM's gtest_main target is reused
//          or is built from LLVM's source tree,
//          this file is ignored. Instead, LLVM's
//          utils/unittest/UnitTestMain/TestMain.cpp
//          is used.

int main(int argc, char **argv) {
  testing::InitGoogleTest(&argc, argv);
  return RUN_ALL_TESTS();
}