diff options
Diffstat (limited to 'test/test_main.cc')
| -rw-r--r-- | test/test_main.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/test_main.cc b/test/test_main.cc index c129db259f..82b39e4874 100644 --- a/test/test_main.cc +++ b/test/test_main.cc @@ -6,12 +6,14 @@ extern "C" { # include "zbuild.h" -# include "cpu_features.h" +# include "test_cpu_features.h" + + struct cpu_features test_cpu_features; } GTEST_API_ int main(int argc, char **argv) { printf("Running main() from %s\n", __FILE__); - cpu_check_features(); + cpu_check_features(&test_cpu_features); testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); -}
\ No newline at end of file +} |
