Vendor Teakra, make emulator own DSP RAM and add DSP RAM to fastmem (#806)
* DSP: Own DSP RAM and add it to fastmem * Vendor Teakra * Add MacOS support to fastmem * Fix MacOS fastmem paths * Fix iOS build
This commit is contained in:
9
third_party/teakra/src/test_generator/CMakeLists.txt
vendored
Normal file
9
third_party/teakra/src/test_generator/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
include(CreateDirectoryGroups)
|
||||
|
||||
add_executable(test_generator
|
||||
main.cpp
|
||||
)
|
||||
create_target_directory_groups(test_generator)
|
||||
target_link_libraries(test_generator PRIVATE teakra)
|
||||
target_include_directories(test_generator PRIVATE .)
|
||||
target_compile_options(test_generator PRIVATE ${TEAKRA_CXX_FLAGS})
|
||||
15
third_party/teakra/src/test_generator/main.cpp
vendored
Normal file
15
third_party/teakra/src/test_generator/main.cpp
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <cstdio>
|
||||
#include "../test_generator.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
if (argc < 2) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (!Teakra::Test::GenerateTestCasesToFile(argv[1])) {
|
||||
std::fprintf(stderr, "Unable to successfully generate all tests.\n");
|
||||
return -2;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user