- Upgraded CMake minimum version requirement to 3.16 and updated project version to 0.3.0. - Introduced new CMake presets for build configurations, including default, debug, and release options. - Added CI/CD workflows for continuous integration and release management, enhancing automated testing and deployment processes. - Integrated Asar assembler support with new wrapper classes and CLI commands for patching ROMs. - Implemented comprehensive tests for Asar integration, ensuring robust functionality and error handling. - Enhanced packaging configuration for cross-platform support, including Windows, macOS, and Linux. - Updated documentation and added test assets for improved clarity and usability.
27 lines
704 B
C++
27 lines
704 B
C++
#define SDL_MAIN_HANDLED
|
|
|
|
#include <gtest/gtest.h>
|
|
|
|
#include "absl/debugging/failure_signal_handler.h"
|
|
#include "absl/debugging/symbolize.h"
|
|
#include "test_editor.h"
|
|
|
|
int main(int argc, char* argv[]) {
|
|
absl::InitializeSymbolizer(argv[0]);
|
|
|
|
absl::FailureSignalHandlerOptions options;
|
|
absl::InstallFailureSignalHandler(options);
|
|
|
|
if (argc > 1 && std::string(argv[1]) == "integration") {
|
|
return yaze::test::RunIntegrationTest();
|
|
} else if (argc > 1 && std::string(argv[1]) == "room_object") {
|
|
::testing::InitGoogleTest(&argc, argv);
|
|
if (!RUN_ALL_TESTS()) {
|
|
return yaze::test::RunIntegrationTest();
|
|
}
|
|
}
|
|
|
|
::testing::InitGoogleTest(&argc, argv);
|
|
return RUN_ALL_TESTS();
|
|
}
|