• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2017 The CRC32C Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "crc32c/crc32c_config.h"
6 
7 #include "gtest/gtest.h"
8 
9 #if CRC32C_TESTS_BUILT_WITH_GLOG
10 #include "glog/logging.h"
11 #endif  // CRC32C_TESTS_BUILT_WITH_GLOG
12 
main(int argc,char ** argv)13 int main(int argc, char** argv) {
14 #if CRC32C_TESTS_BUILT_WITH_GLOG
15   google::InitGoogleLogging(argv[0]);
16   google::InstallFailureSignalHandler();
17 #endif  // CRC32C_TESTS_BUILT_WITH_GLOG
18   testing::InitGoogleTest(&argc, argv);
19   return RUN_ALL_TESTS();
20 }
21