| 1 | /* test_test.cc - Main entry point for test framework */ |
| 2 | |
| 3 | #include <stdio.h> |
| 4 | |
| 5 | #include "gtest/gtest.h" |
| 6 | |
| 7 | extern "C" { |
| 8 | # include "zbuild.h" |
| 9 | # include "cpu_features.h" |
| 10 | } |
| 11 | |
| 12 | GTEST_API_ int main(int argc, char **argv) { |
| 13 | printf("Running main() from %s\n", __FILE__); |
| 14 | cpu_check_features(); |
| 15 | testing::InitGoogleTest(&argc, argv); |
| 16 | return RUN_ALL_TESTS(); |
| 17 | } |