|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
End-to-end integration tests for Compiler_Driver.H. More...
Go to the source code of this file.
Functions | |
| TEST (CompilerDriver, ParsesAndMergesOrderedMultiFileModules) | |
| TEST (CompilerDriver, RunsMergedHIRModuleAndPublishesArtifacts) | |
| TEST (CompilerDriver, EmitsBytecodeAndPortableCArtifacts) | |
| TEST (CompilerDriver, StopsBeforeLoweringWhenDiagnosticsExist) | |
| TEST (CompilerDriver, ReportsMissingImportDependencies) | |
| TEST (CompilerDriver, ReportsCyclicImports) | |
| TEST (CompilerDriver, ClearsValueTextWhenRuntimeEvaluationFails) | |
End-to-end integration tests for Compiler_Driver.H.
Definition in file compiler_driver_test.cc.
| TEST | ( | CompilerDriver | , |
| ClearsValueTextWhenRuntimeEvaluationFails | |||
| ) |
Definition at line 193 of file compiler_driver_test.cc.
References Aleph::DynArray< T >::append(), Aleph::Interpreter_Runtime_Error::code, Aleph::Interpreter_Execution_Result::error, Aleph::Compiler_Driver::execute_sources(), Aleph::Compiler_Driver_Run_Output::executed, Aleph::Compiler_Driver::find_artifact(), Aleph::Interpreter_Execution_Result::ok(), Aleph::Compiler_Driver_Run_Output::result, Aleph::Compiler_Driver::run_output(), and Aleph::Compiler_Driver_Run_Output::value_text.
| TEST | ( | CompilerDriver | , |
| EmitsBytecodeAndPortableCArtifacts | |||
| ) |
Definition at line 119 of file compiler_driver_test.cc.
References Aleph::Compiler_Driver::bytecode_module(), Aleph::Compiler_Driver_Options::c_backend_options, Aleph::Compiler_Driver::c_emission(), Aleph::Compiler_Driver::execute_sources(), Aleph::Compiler_Driver::find_artifact(), Aleph::Compiler_C_Backend_Emission::module_init_symbol, Aleph::Compiler_C_Backend_Options::module_name, options, and Aleph::Compiler_C_Backend_Emission::valid.
| TEST | ( | CompilerDriver | , |
| ParsesAndMergesOrderedMultiFileModules | |||
| ) |
Definition at line 59 of file compiler_driver_test.cc.
References Aleph::compiler_driver_action_name(), Aleph::compiler_parse_driver_action(), Aleph::Compiler_Driver::execute_sources(), Aleph::Compiler_Driver::find_artifact(), Aleph::Compiler_Driver::last_action(), Aleph::Compiler_Driver::merged_ast_module(), and Aleph::Compiler_Driver::parsed_ast_modules().
| TEST | ( | CompilerDriver | , |
| ReportsCyclicImports | |||
| ) |
| TEST | ( | CompilerDriver | , |
| ReportsMissingImportDependencies | |||
| ) |
| TEST | ( | CompilerDriver | , |
| RunsMergedHIRModuleAndPublishesArtifacts | |||
| ) |
Definition at line 94 of file compiler_driver_test.cc.
References Aleph::Compiler_Driver::execute_sources(), Aleph::Compiler_Driver_Run_Output::executed, Aleph::Compiler_Driver::find_artifact(), Aleph::Compiler_Driver_Run_Output::globals_text, Aleph::Interpreter_Execution_Result::ok(), Aleph::Compiler_Driver_Run_Output::result, Aleph::Compiler_Driver::run_output(), and Aleph::Compiler_Driver_Run_Output::value_text.
| TEST | ( | CompilerDriver | , |
| StopsBeforeLoweringWhenDiagnosticsExist | |||
| ) |
Definition at line 148 of file compiler_driver_test.cc.
References Aleph::DynArray< T >::append(), Aleph::Compiler_Driver::diagnostic_engine(), Aleph::Compiler_Driver::diagnostics_text(), Aleph::Compiler_Driver::execute_sources(), Aleph::Compiler_Driver::find_artifact(), Aleph::Diagnostic_Engine::has_errors(), and Aleph::Compiler_Driver::hir_module().