| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // Copyright (c) 2021-2025 ChilliBits. All rights reserved. | ||
| 2 | |||
| 3 | #include "driver/Driver.h" | ||
| 4 | |||
| 5 | #include <gtest/gtest.h> | ||
| 6 | |||
| 7 | // GCOV_EXCL_START | ||
| 8 | using namespace spice::testing; | ||
| 9 | |||
| 10 | /** | ||
| 11 | * Entry point to the Spice testing suite | ||
| 12 | * | ||
| 13 | * @param argc Argument count | ||
| 14 | * @param argv Argument vector | ||
| 15 | * @return Return code | ||
| 16 | */ | ||
| 17 | − | int main(int argc, char **argv) { | |
| 18 | − | ::testing::InitGoogleTest(&argc, argv); | |
| 19 | // Initialize command line parser | ||
| 20 | − | Driver driver; | |
| 21 | − | driver.createInterface(); | |
| 22 | − | driver.addOptions(); | |
| 23 | // Parse command line args | ||
| 24 | − | driver.parse(argc, argv); | |
| 25 | // Run tests | ||
| 26 | − | return RUN_ALL_TESTS(); | |
| 27 | − | } | |
| 28 | |||
| 29 | // GCOV_EXCL_STOP | ||
| 30 |