diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2009-01-01 02:24:48 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2009-01-01 02:24:48 +0000 |
commit | bcf15388abaed2a55ae772fd2ee5872662d13a8e (patch) | |
tree | 54d35a45090ce19cd7443faf473b2ce804fce612 /llvm/unittests/TestMain.cpp | |
parent | 22df200727996b3bc6f34aefa2e884c9969dd284 (diff) | |
download | bcm5719-llvm-bcf15388abaed2a55ae772fd2ee5872662d13a8e.tar.gz bcm5719-llvm-bcf15388abaed2a55ae772fd2ee5872662d13a8e.zip |
Original patch by Talin.
* Added the first LLVM unittest -- DenseMap.
* Updated mkpatch utility to include llvm/unittests dir
* Added top-level target "unittests" to run all unittests
llvm-svn: 61541
Diffstat (limited to 'llvm/unittests/TestMain.cpp')
-rw-r--r-- | llvm/unittests/TestMain.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/unittests/TestMain.cpp b/llvm/unittests/TestMain.cpp new file mode 100644 index 00000000000..095076b23ec --- /dev/null +++ b/llvm/unittests/TestMain.cpp @@ -0,0 +1,15 @@ +//===--- 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" + +int main(int argc, char **argv) { + testing::InitGoogleTest(&argc, argv); + return RUN_ALL_TESTS(); +} |