|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Integration tests for the reusable frontend/driver contracts. More...
Go to the source code of this file.
Functions | |
| TEST (CompilerGenericDriver, RunsProgramThroughReusableFrontendContract) | |
| TEST (CompilerGenericDriver, EmitsBytecodeAndPortableCThroughReusableFrontendContract) | |
| TEST (CompilerGenericDriver, ReportsRuntimeFailuresThroughDriverMessages) | |
Integration tests for the reusable frontend/driver contracts.
Definition in file compiler_generic_driver_test.cc.
| TEST | ( | CompilerGenericDriver | , |
| EmitsBytecodeAndPortableCThroughReusableFrontendContract | |||
| ) |
Definition at line 121 of file compiler_generic_driver_test.cc.
References Aleph::Compiler_Generic_Driver::bytecode_module(), Aleph::Compiler_Generic_Driver_Options::c_backend_options, Aleph::Compiler_Generic_Driver::c_emission(), Aleph::Compiler_Generic_Driver::execute_sources(), Aleph::Compiler_Generic_Driver::find_artifact(), Aleph::Compiler_C_Backend_Options::module_name, options, and Aleph::Compiler_C_Backend_Emission::valid.
| TEST | ( | CompilerGenericDriver | , |
| ReportsRuntimeFailuresThroughDriverMessages | |||
| ) |
Definition at line 150 of file compiler_generic_driver_test.cc.
References Aleph::DynArray< T >::append(), Aleph::Interpreter_Runtime_Error::code, Aleph::Interpreter_Execution_Result::error, Aleph::Compiler_Generic_Driver::execute_sources(), Aleph::Compiler_Driver_Run_Output::executed, Aleph::Compiler_Generic_Driver::find_artifact(), Aleph::Interpreter_Execution_Result::ok(), Aleph::Compiler_Driver_Run_Output::result, Aleph::Compiler_Generic_Driver::run_output(), and Aleph::Compiler_Driver_Run_Output::value_text.
| TEST | ( | CompilerGenericDriver | , |
| RunsProgramThroughReusableFrontendContract | |||
| ) |
Definition at line 60 of file compiler_generic_driver_test.cc.
References Aleph::Compiler_Generic_Driver::execute_sources(), Aleph::Compiler_Driver_Run_Output::executed, Aleph::Compiler_Generic_Driver::find_artifact(), Aleph::Compiler_MVP_Frontend::find_artifact(), Aleph::Compiler_Driver_Run_Output::globals_text, Aleph::Compiler_MVP_Frontend::module_descriptors(), Aleph::Compiler_MVP_Frontend::module_merge_order(), Aleph::Compiler_MVP_Frontend::module_metadata(), Aleph::Interpreter_Execution_Result::ok(), Aleph::Compiler_Driver_Run_Output::result, Aleph::Compiler_Generic_Driver::run_output(), and Aleph::DynArray< T >::size().