solidity/test/cmdlineTests
Christian Parpart 32ba5f5ae7 libsolidity: Extend the AST for named AST nodes in order to get precise locations for names.
The actual SourceLocation on an ASTNode is representing the whole
ASTNode whereas in an LSP (for example) you are also interested in the
SourceLocation of a name of a construct (e.g. variable decarlation, function definition, ...).

This also properly encodes non-existend sources as `-1` in the JSON output (eliminating the use of `numeric_limits<size_t>::max()`).
2021-02-10 18:13:09 +01:00
..
abiencoderv2_no_warning Use new abicoder pragma. 2020-11-24 14:57:45 +01:00
ast_json_import_wrong_evmVersion Add test for incorrect evm version when importing an ast tree 2020-01-14 18:42:43 +01:00
combined_json_generated_sources Group decoding function cases. 2020-12-07 14:14:54 +01:00
dup_opt_peephole Use consistent style for stuff removed from the output of command-line tests 2020-11-09 17:17:15 +01:00
error_codes Cover cmdlineTests.sh errors 2020-07-09 14:39:05 +02:00
evm_to_wasm [ewasm] Polyfill: balance & address: Update Tests. 2021-01-19 13:04:45 -05:00
evm_to_wasm_break [ewasm] Polyfill: balance & address: Update Tests. 2021-01-19 13:04:45 -05:00
evm_to_wasm_unsupported_translation CommandLineInterface: Display an error instead of crashing when assembly variant has no Ewasm translation 2020-05-30 03:09:42 +02:00
exp_base_literal Update tests. 2021-01-20 18:25:27 +01:00
ir_compiler_inheritance_nosubobjects Report warning if contract uses abicoder v1, but IR is requested 2020-12-09 01:20:58 +00:00
ir_compiler_subobjects Update tests. 2021-01-20 18:25:27 +01:00
ir_with_assembly_no_memoryguard_creation Report warning if contract uses abicoder v1, but IR is requested 2020-12-09 01:20:58 +00:00
ir_with_assembly_no_memoryguard_runtime Report warning if contract uses abicoder v1, but IR is requested 2020-12-09 01:20:58 +00:00
linking_solidity [CLI] Allow "=" as separator between library name and address in --libraries commandline option. 2021-01-25 16:14:39 +08:00
linking_solidity_unresolved_references [CLI] Allow "=" as separator between library name and address in --libraries commandline option. 2021-01-25 16:14:39 +08:00
linking_standard_solidity Properly filter requested artefacts inside the EVM objects. 2020-12-07 22:03:06 +01:00
linking_standard_solidity_quote_in_file_name Properly filter requested artefacts inside the EVM objects. 2020-12-07 22:03:06 +01:00
linking_standard_solidity_unresolved_references Properly filter requested artefacts inside the EVM objects. 2020-12-07 22:03:06 +01:00
linking_standard_yul Properly filter requested artefacts inside the EVM objects. 2020-12-07 22:03:06 +01:00
linking_standard_yul_quote_in_file_name Properly filter requested artefacts inside the EVM objects. 2020-12-07 22:03:06 +01:00
linking_standard_yul_unresolved_references Properly filter requested artefacts inside the EVM objects. 2020-12-07 22:03:06 +01:00
linking_strict_assembly [CLI] Allow "=" as separator between library name and address in --libraries commandline option. 2021-01-25 16:14:39 +08:00
linking_strict_assembly_duplicate_library_name [CLI] Allow "=" as separator between library name and address in --libraries commandline option. 2021-01-25 16:14:39 +08:00
linking_strict_assembly_no_file_name_in_link_reference [CLI] Allow "=" as separator between library name and address in --libraries commandline option. 2021-01-25 16:14:39 +08:00
linking_strict_assembly_same_library_name_different_files [CLI] Allow "=" as separator between library name and address in --libraries commandline option. 2021-01-25 16:14:39 +08:00
linking_strict_assembly_same_library_name_different_files_in_link_references [CLI] Allow "=" as separator between library name and address in --libraries commandline option. 2021-01-25 16:14:39 +08:00
linking_strict_assembly_unresolved_references [CLI] Allow "=" as separator between library name and address in --libraries commandline option. 2021-01-25 16:14:39 +08:00
message_format Update existing tests. 2020-05-13 18:16:59 +02:00
message_format_utf8 Update tests for unicode literals 2020-07-27 18:21:17 +01:00
model_checker_engine_all Output internal calls 2021-01-12 14:57:04 +01:00
model_checker_engine_bmc Add CLI option to choose model checker engine 2020-10-16 15:01:47 +01:00
model_checker_engine_chc Output internal calls 2021-01-12 14:57:04 +01:00
model_checker_engine_none Add CLI option to choose model checker engine 2020-10-16 15:01:47 +01:00
model_checker_targets_all Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_all_bmc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_all_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_assert_bmc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_assert_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_balance_bmc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_balance_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_constant_condition_bmc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_constant_condition_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_div_by_zero_bmc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_div_by_zero_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_error Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_overflow_bmc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_overflow_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_pop_empty_bmc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_pop_empty_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_underflow_bmc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_underflow_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_underflow_overflow_assert_bmc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_underflow_overflow_assert_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_underflow_overflow_bmc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_targets_underflow_overflow_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
model_checker_timeout_all Make timeout tests harder 2020-11-06 13:35:07 +00:00
model_checker_timeout_bmc Make timeout tests harder 2020-11-06 13:35:07 +00:00
model_checker_timeout_chc Make timeout tests harder 2020-11-06 13:35:07 +00:00
name_simplifier Update tests. 2021-01-20 18:25:27 +01:00
object_compiler cmdlineTests: Use .yul extension for Yul files 2020-11-05 18:05:23 +01:00
optimizer_array_sload Update tests. 2021-01-20 18:25:27 +01:00
optimizer_BlockDeDuplicator Add inlining for old optimizer. 2021-02-09 19:08:58 +01:00
optimizer_inliner_add Add inlining for old optimizer. 2021-02-09 19:08:58 +01:00
optimizer_inliner_call_from_constructor Add inlining for old optimizer. 2021-02-09 19:08:58 +01:00
optimizer_inliner_dynamic_reference Add inlining for old optimizer. 2021-02-09 19:08:58 +01:00
optimizer_inliner_dynamic_reference_constructor Add inlining for old optimizer. 2021-02-09 19:08:58 +01:00
optimizer_inliner_inc Add inlining for old optimizer. 2021-02-09 19:08:58 +01:00
optimizer_inliner_multireturn Add inlining for old optimizer. 2021-02-09 19:08:58 +01:00
optimizer_user_yul Use consistent style for stuff removed from the output of command-line tests 2020-11-09 17:17:15 +01:00
output_selection_all_A1 Merge remote-tracking branch 'origin/develop' into breaking 2020-12-08 17:42:31 +01:00
output_selection_all_A2 Merge remote-tracking branch 'origin/develop' into breaking 2020-12-08 17:42:31 +01:00
output_selection_all_blank Update tests. 2020-12-01 16:15:19 +01:00
output_selection_all_star Merge remote-tracking branch 'origin/develop' into breaking 2020-12-08 17:42:31 +01:00
output_selection_single_A1 Merge remote-tracking branch 'origin/develop' into breaking 2020-12-08 17:42:31 +01:00
output_selection_single_all Merge remote-tracking branch 'origin/develop' into breaking 2020-12-08 17:42:31 +01:00
output_selection_single_B1 Merge remote-tracking branch 'origin/develop' into breaking 2020-12-08 17:42:31 +01:00
recovery_ast_constructor libsolidity: Extend the AST for named AST nodes in order to get precise locations for names. 2021-02-10 18:13:09 +01:00
recovery_ast_empty_contract Update existing tests. 2020-10-08 18:56:17 +02:00
recovery_standard_json libsolidity: Extend the AST for named AST nodes in order to get precise locations for names. 2021-02-10 18:13:09 +01:00
require_overload Update existing tests. 2020-05-13 18:16:59 +02:00
standard_default_success Update existing tests. 2020-05-13 18:16:59 +02:00
standard_empty_file_name Update tests. 2020-12-01 16:15:19 +01:00
standard_ewasm_requested [ewasm] Polyfill: balance & address: Update Tests. 2021-01-19 13:04:45 -05:00
standard_ewasm_requested_abstract Report warning if contract uses abicoder v1, but IR is requested 2020-12-09 01:20:58 +00:00
standard_file_not_found [CLI] Report error on missing file for --standard-json 2020-11-04 16:35:19 +00:00
standard_generatedSources Update tests. 2021-01-20 18:25:27 +01:00
standard_immutable_references Update source location tests. 2020-12-09 15:25:15 +01:00
standard_ir_requested Update tests. 2021-01-20 18:25:27 +01:00
standard_irOptimized_requested Update tests. 2021-01-20 18:25:27 +01:00
standard_method_identifiers_requested Update existing tests. 2020-05-13 18:16:59 +02:00
standard_missing_key_useLiteralContent Update existing tests. 2020-05-13 18:16:59 +02:00
standard_model_checker_engine_all Output internal calls 2021-01-12 14:57:04 +01:00
standard_model_checker_engine_bmc [SMTChecker] Added transaction constraints also for contract deployment 2021-02-01 16:46:34 +01:00
standard_model_checker_engine_chc Output internal calls 2021-01-12 14:57:04 +01:00
standard_model_checker_engine_none Move standard-json "modelCheckerSettings" key to "settings.modelChecker". 2020-12-09 15:53:32 +01:00
standard_model_checker_targets_all [SMTChecker] Added transaction constraints also for contract deployment 2021-02-01 16:46:34 +01:00
standard_model_checker_targets_all_bmc [SMTChecker] Added transaction constraints also for contract deployment 2021-02-01 16:46:34 +01:00
standard_model_checker_targets_all_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
standard_model_checker_targets_assert_bmc [SMTChecker] Added transaction constraints also for contract deployment 2021-02-01 16:46:34 +01:00
standard_model_checker_targets_assert_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
standard_model_checker_targets_balance_bmc [SMTChecker] Added transaction constraints also for contract deployment 2021-02-01 16:46:34 +01:00
standard_model_checker_targets_balance_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
standard_model_checker_targets_constantCondition_bmc [SMTChecker] Added transaction constraints also for contract deployment 2021-02-01 16:46:34 +01:00
standard_model_checker_targets_constantCondition_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
standard_model_checker_targets_div_by_zero_bmc [SMTChecker] Added transaction constraints also for contract deployment 2021-02-01 16:46:34 +01:00
standard_model_checker_targets_div_by_zero_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
standard_model_checker_targets_overflow_bmc [SMTChecker] Added transaction constraints also for contract deployment 2021-02-01 16:46:34 +01:00
standard_model_checker_targets_overflow_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
standard_model_checker_targets_pop_empty_bmc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
standard_model_checker_targets_pop_empty_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
standard_model_checker_targets_underflow_bmc [SMTChecker] Added transaction constraints also for contract deployment 2021-02-01 16:46:34 +01:00
standard_model_checker_targets_underflow_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
standard_model_checker_targets_underflow_overflow_assert_bmc [SMTChecker] Added transaction constraints also for contract deployment 2021-02-01 16:46:34 +01:00
standard_model_checker_targets_underflow_overflow_assert_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
standard_model_checker_targets_underflow_overflow_bmc [SMTChecker] Added transaction constraints also for contract deployment 2021-02-01 16:46:34 +01:00
standard_model_checker_targets_underflow_overflow_chc Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
standard_model_checker_targets_wrong Add CLI and JSON option to select SMTChecker targets 2021-01-20 17:35:37 +01:00
standard_model_checker_timeout_all [SMTChecker] Added transaction constraints also for contract deployment 2021-02-01 16:46:34 +01:00
standard_model_checker_timeout_bmc [SMTChecker] Added transaction constraints also for contract deployment 2021-02-01 16:46:34 +01:00
standard_model_checker_timeout_chc Merge remote-tracking branch 'origin/develop' into breaking 2020-12-10 12:15:52 +01:00
standard_model_checker_timeout_wrong_key Move standard-json "modelCheckerSettings" key to "settings.modelChecker". 2020-12-09 15:53:32 +01:00
standard_model_checker_timeout_wrong_value Move standard-json "modelCheckerSettings" key to "settings.modelChecker". 2020-12-09 15:53:32 +01:00
standard_only_ast_requested libsolidity: Extend the AST for named AST nodes in order to get precise locations for names. 2021-02-10 18:13:09 +01:00
standard_optimizer_generatedSources Round up allocations to multiples of 32. 2021-01-14 21:52:17 +00:00
standard_optimizer_invalid_detail_type Update existing tests. 2020-05-13 18:16:59 +02:00
standard_optimizer_invalid_details Update existing tests. 2020-05-13 18:16:59 +02:00
standard_optimizer_no_yul Update existing tests. 2020-05-13 18:16:59 +02:00
standard_optimizer_yul Update existing tests. 2020-05-13 18:16:59 +02:00
standard_optimizer_yulDetails Update existing tests. 2020-05-13 18:16:59 +02:00
standard_optimizer_yulDetails_no_object Update existing tests. 2020-05-13 18:16:59 +02:00
standard_optimizer_yulDetails_optimiserSteps Update existing tests. 2020-05-13 18:16:59 +02:00
standard_optimizer_yulDetails_optimiserSteps_invalid_abbreviation Update existing tests. 2020-05-13 18:16:59 +02:00
standard_optimizer_yulDetails_optimiserSteps_invalid_nesting Update existing tests. 2020-05-13 18:16:59 +02:00
standard_optimizer_yulDetails_optimiserSteps_type Update existing tests. 2020-05-13 18:16:59 +02:00
standard_optimizer_yulDetails_optimiserSteps_unbalanced_bracket Update existing tests. 2020-05-13 18:16:59 +02:00
standard_optimizer_yulDetails_without_yul Update existing tests. 2020-05-13 18:16:59 +02:00
standard_secondary_source_location Update tests. 2020-12-01 16:15:19 +01:00
standard_viair_requested Update tests. 2021-01-20 18:25:27 +01:00
standard_wrong_key_auxiliary_input Update existing tests. 2020-05-13 18:16:59 +02:00
standard_wrong_key_metadata Update existing tests. 2020-05-13 18:16:59 +02:00
standard_wrong_key_optimizer Update existing tests. 2020-05-13 18:16:59 +02:00
standard_wrong_key_root Update existing tests. 2020-05-13 18:16:59 +02:00
standard_wrong_key_settings Update existing tests. 2020-05-13 18:16:59 +02:00
standard_wrong_key_source Update existing tests. 2020-05-13 18:16:59 +02:00
standard_wrong_type_auxiliary_input Update existing tests. 2020-05-13 18:16:59 +02:00
standard_wrong_type_auxiliary_input_smtlib2responses Reduce warnings in commandline tests. 2020-12-01 16:09:46 +01:00
standard_wrong_type_auxiliary_input_smtlib2responses_member Reduce warnings in commandline tests. 2020-12-01 16:09:46 +01:00
standard_wrong_type_metadata Update existing tests. 2020-05-13 18:16:59 +02:00
standard_wrong_type_optimizer Update existing tests. 2020-05-13 18:16:59 +02:00
standard_wrong_type_output_selection Reduce warnings in commandline tests. 2020-12-01 16:09:46 +01:00
standard_wrong_type_output_selection_contract Reduce warnings in commandline tests. 2020-12-01 16:09:46 +01:00
standard_wrong_type_output_selection_file Reduce warnings in commandline tests. 2020-12-01 16:09:46 +01:00
standard_wrong_type_output_selection_output Reduce warnings in commandline tests. 2020-12-01 16:09:46 +01:00
standard_wrong_type_remappings Reduce warnings in commandline tests. 2020-12-01 16:09:46 +01:00
standard_wrong_type_remappings_entry Reduce warnings in commandline tests. 2020-12-01 16:09:46 +01:00
standard_wrong_type_root Move actual test files. 2019-01-07 15:05:54 +01:00
standard_wrong_type_settings Update existing tests. 2020-05-13 18:16:59 +02:00
standard_wrong_type_source Update existing tests. 2020-05-13 18:16:59 +02:00
standard_wrong_type_sources Move actual test files. 2019-01-07 15:05:54 +01:00
standard_wrong_type_useLiteralContent Update existing tests. 2020-05-13 18:16:59 +02:00
standard_yul Use consistent style for stuff removed from the output of command-line tests 2020-11-09 17:17:15 +01:00
standard_yul_embedded_object_name Add warning that Yul is still experimental 2019-03-25 20:17:11 +00:00
standard_yul_invalid_object_name Add warning that Yul is still experimental 2019-03-25 20:17:11 +00:00
standard_yul_multiple_files Auto-update command line expectations 2019-04-08 20:40:04 +08:00
standard_yul_multiple_files_selected Auto-update command line expectations 2019-04-08 20:40:04 +08:00
standard_yul_object Use consistent style for stuff removed from the output of command-line tests 2020-11-09 17:17:15 +01:00
standard_yul_object_invalid_sub Update tests. 2020-12-01 16:15:19 +01:00
standard_yul_object_name Use consistent style for stuff removed from the output of command-line tests 2020-11-09 17:17:15 +01:00
standard_yul_optimiserSteps Use consistent style for stuff removed from the output of command-line tests 2020-11-09 17:17:15 +01:00
standard_yul_optimized Use consistent style for stuff removed from the output of command-line tests 2020-11-09 17:17:15 +01:00
storage_layout_bytes Update tests. 2020-12-01 16:15:19 +01:00
storage_layout_dyn_array Update tests. 2020-12-01 16:15:19 +01:00
storage_layout_many Update tests. 2020-12-01 16:15:19 +01:00
storage_layout_mapping Update tests. 2020-12-01 16:15:19 +01:00
storage_layout_smoke Update tests. 2020-12-01 16:15:19 +01:00
storage_layout_smoke_two_contracts Update tests. 2020-12-01 16:15:19 +01:00
storage_layout_string Update tests. 2020-12-01 16:15:19 +01:00
storage_layout_struct Update tests. 2020-12-01 16:15:19 +01:00
storage_layout_struct_packed Update tests. 2020-12-01 16:15:19 +01:00
storage_layout_value_types Update tests. 2020-12-01 16:15:19 +01:00
storage_layout_value_types_packed Update tests. 2020-12-01 16:15:19 +01:00
strict_asm_invalid_option_optimize_yul CommandLineInterface: In error message about options disallowed in assembly mode only include the names of actually used options 2020-06-29 15:23:13 +02:00
strict_asm_invalid_option_output_dir CommandLineInterface: In error message about options disallowed in assembly mode only include the names of actually used options 2020-06-29 15:23:13 +02:00
strict_asm_jump Updating tests after improving Yul error reporting 2021-02-09 16:55:33 +01:00
strict_asm_optimizer_steps CommandLineInterface: Make --yul-optimizations work in strict assembly mode 2020-05-08 22:29:57 +02:00
strict_asm_options_in_non_asm_mode CommandLineInterface: Disallow --yul-dialect and --machine when not in assembly mode 2020-06-15 17:12:51 +02:00
structured_documentation_source_location Update existing tests. 2020-05-13 18:16:59 +02:00
too_long_line Update existing tests. 2020-05-13 18:16:59 +02:00
too_long_line_both_sides_short Update existing tests. 2020-05-13 18:16:59 +02:00
too_long_line_edge_in Update existing tests. 2020-05-13 18:16:59 +02:00
too_long_line_edge_out Update existing tests. 2020-05-13 18:16:59 +02:00
too_long_line_left_short Update existing tests. 2020-05-13 18:16:59 +02:00
too_long_line_multiline Update tests 2020-12-14 19:32:31 +00:00
too_long_line_right_short Update existing tests. 2020-05-13 18:16:59 +02:00
viair_abicoder_v1 Update tests. 2021-01-20 18:25:27 +01:00
viair_subobjects Update tests. 2021-01-20 18:25:27 +01:00
wasm_to_wasm_function_returning_multiple_values Update the expected output of command-line tests after wasm changes 2020-06-16 15:36:47 +02:00
wasm_to_wasm_memory_instructions_alignment Update the expected output of command-line tests after wasm changes 2020-06-16 15:36:47 +02:00
yul_optimizer_steps Report warning if contract uses abicoder v1, but IR is requested 2020-12-09 01:20:58 +00:00
yul_optimizer_steps_disabled Update existing tests. 2020-05-13 18:16:59 +02:00
yul_optimizer_steps_invalid_abbreviation Update existing tests. 2020-05-13 18:16:59 +02:00
yul_optimizer_steps_invalid_nesting Update existing tests. 2020-05-13 18:16:59 +02:00
yul_optimizer_steps_unbalanced_bracket Update existing tests. 2020-05-13 18:16:59 +02:00
yul_stack_opt cmdlineTests: Use .yul extension for Yul files 2020-11-05 18:05:23 +01:00
yul_stack_opt_disabled cmdlineTests: Use .yul extension for Yul files 2020-11-05 18:05:23 +01:00
yul_string_format_ascii Update tests. 2021-01-20 18:25:27 +01:00
yul_string_format_ascii_bytes32 Update tests. 2021-01-20 18:25:27 +01:00
yul_string_format_ascii_bytes32_from_number Update tests. 2021-01-20 18:25:27 +01:00
yul_string_format_ascii_long Update tests. 2021-01-20 18:25:27 +01:00
yul_string_format_hex Update tests. 2021-01-20 18:25:27 +01:00