Alex Beregszaszi
|
8fb7a18800
|
Small refactorings for isoltest
|
2021-04-22 01:04:34 +01:00 |
|
Djordje Mijovic
|
2b14efbbcc
|
Adding debug info on gas costs when updating gas values.
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
|
2021-03-09 21:48:11 +01:00 |
|
Djordje Mijovic
|
2c575db0ea
|
Show both expected and obtained gas expectations when failure happens.
|
2021-03-09 21:27:38 +01:00 |
|
Djordje Mijovic
|
cf59d7fc13
|
Making order of gas expectations deterministic.
|
2021-03-09 21:26:45 +01:00 |
|
Djordje Mijovic
|
6d51dfb617
|
[isoltest] Adding gas used as semantic tests expectation.
|
2021-03-09 21:26:36 +01:00 |
|
Alexander Arlt
|
94895822d2
|
[isoltest] Add support for builtin functions.
|
2021-03-04 08:49:59 -05:00 |
|
chriseth
|
e75e3fc2e3
|
Merge pull request #10977 from ethereum/replace-throw-with-boost-macro
Replace raw throw with BOOST_THROW_EXCEPTION.
|
2021-02-22 16:18:13 +01:00 |
|
Alexander Arlt
|
ae6710f4e7
|
test/libsolidity/util/ContractABIUtils.cpp: use std::bind.
|
2021-02-18 20:26:26 -05:00 |
|
Alexander Arlt
|
c44bb7e7ef
|
Replace raw throw with BOOST_THROW_EXCEPTION.
|
2021-02-18 20:23:59 -05:00 |
|
Alex Beregszaszi
|
bd641a5206
|
Enable more C++ compiler warnings
|
2020-12-10 21:03:58 +00:00 |
|
Alex Beregszaszi
|
7e88ba8da0
|
Enable the -Wconversion warning
|
2020-12-08 16:45:24 +00:00 |
|
Alex Beregszaszi
|
81c448fb4c
|
Rework TestFileParser
|
2020-11-10 13:09:07 +01:00 |
|
Alex Beregszaszi
|
c002fcc39f
|
Untangle headers and namespaces in TestFileParser
|
2020-11-10 13:09:07 +01:00 |
|
Alex Beregszaszi
|
f2a51bcf38
|
Fix TestFileParser to support empty strings
Previously empty strings would be replaced with the token name, e.g. "string" in this case.
|
2020-11-04 17:49:23 +00:00 |
|
chriseth
|
3b8c038647
|
Empty storage option for isoltest.
|
2020-10-29 13:55:07 +01:00 |
|
chriseth
|
d00ef95a72
|
Refactor isoltest function call kind.
|
2020-10-28 19:04:24 +01:00 |
|
chriseth
|
fed6ea0125
|
Fix error message formatting in isoltest.
|
2020-10-13 17:20:19 +02:00 |
|
chriseth
|
91f7c6644f
|
Only expect more failure data params if they are there.
|
2020-09-23 12:22:11 +02:00 |
|
a3d4
|
6336aa5aba
|
Fix test expectation update
|
2020-08-31 12:50:18 +02:00 |
|
Sachin Grover
|
b7adb2aa42
|
Add SPDX license identifier if not present already in source file
Fixes: #9220
|
2020-07-17 20:24:12 +05:30 |
|
Alex Beregszaszi
|
6a1ad7e59c
|
Fix formatting hex strings in isoltest update
|
2020-07-13 19:06:16 +01:00 |
|
Djordje Mijovic
|
c6e4943089
|
Adding fixes for signedness warnings in libsolidity
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
|
2020-06-10 10:41:55 +02:00 |
|
a3d4
|
be83c54d79
|
Throw TestParserError instead of Error in tests
|
2020-05-28 02:26:17 +02:00 |
|
Alexander Arlt
|
410986e00f
|
[isoltest] Improve parameter formatting.
|
2020-05-19 19:13:39 -05:00 |
|
Erik Kundt
|
d1b6a4a649
|
Fixes raw bytes warning in semantic test framework.
|
2020-02-26 21:37:52 +01:00 |
|
chriseth
|
40cae442d5
|
Fix re-printing value expectations.
|
2020-02-25 22:10:35 +01:00 |
|
Djordje Mijovic
|
dd9009eba6
|
TestFileParser: Adding new keyword wei for expressing function value
|
2020-02-21 11:39:37 +01:00 |
|
chriseth
|
9aed40ab19
|
Check that functions exist in isoltest.
|
2020-02-13 13:22:53 +01:00 |
|
Mathias Baumann
|
00e4d13975
|
TestFramework: Merge Options.h into Common.h
|
2020-01-29 12:27:05 +01:00 |
|
Erik Kundt
|
ae67cbde7d
|
Fixes missing alignment output in isoltest.
|
2020-01-15 18:18:16 +01:00 |
|
Christian Parpart
|
345f9928ab
|
Library libdevcore renamed to libsolutil.
|
2020-01-07 15:51:50 +01:00 |
|
Christian Parpart
|
ed45b000d1
|
Adapt tests directory to C++ namespace changes.
|
2020-01-07 15:51:50 +01:00 |
|
Daniel Kirchner
|
c7e3318dba
|
Add support for external libraries to extracted semantics tests.
|
2019-11-12 15:19:04 +01:00 |
|
Christian Parpart
|
df729b3084
|
Make use of C++17 std::optional<> instead of boost::optional<>.
|
2019-10-28 11:39:30 +01:00 |
|
Gaith Hallak
|
8a8f553e4d
|
Remove trailing zeros from the output of BytesUtils::formatBytes
|
2019-10-16 14:42:12 +03:00 |
|
Gaith Hallak
|
02ae43aad4
|
Fix the documentation for TestFunctionCall::format
|
2019-10-16 14:42:12 +03:00 |
|
Erik Kundt
|
e92b921123
|
[isoltest] Adds support for fallback and ether functions.
|
2019-09-13 10:55:46 +02:00 |
|
Erik Kundt
|
4162c3d7af
|
[isoltest] Adds fallback formatting.
|
2019-09-11 15:45:53 +02:00 |
|
Erik Kundt
|
5e12e0cf27
|
[isoltest] Fixes auto-update for revert.
|
2019-09-09 22:46:43 +02:00 |
|
Erik Kundt
|
755dae5d66
|
[isoltest] Supports empty revert message.
|
2019-08-26 11:06:30 +02:00 |
|
Erik Kundt
|
6c73bc5bac
|
[isoltest] Refactors parameter formatting.
|
2019-08-14 21:28:43 +02:00 |
|
Erik Kundt
|
30483acc42
|
[isoltest] Support FAILURE with reason.
|
2019-08-14 21:28:43 +02:00 |
|
chriseth
|
d44f680a51
|
Merge pull request #7091 from ethereum/isoltest-value-format-fix
[isoltest] Fix (aligned) hex parsing and formatting
|
2019-08-07 17:55:37 +02:00 |
|
Erik Kundt
|
5ca991ac81
|
[isoltest] Allows odd-sized hex literals.
|
2019-08-07 17:19:27 +02:00 |
|
Erik Kundt
|
fe15db6537
|
[isoltest] Fixes exception handling while parsing literals.
|
2019-08-07 12:22:52 +02:00 |
|
Erik Kundt
|
e206ad6c24
|
[isoltest] Fixes hex (plus alignment) formatting.
|
2019-08-07 12:15:10 +02:00 |
|
Mathias Baumann
|
e4ad0e8e6d
|
Fix gcc9 errors
|
2019-08-06 12:12:09 +02:00 |
|
Erik Kundt
|
f914415fb2
|
[isoltest] Updates type retrieval from ABI and its formatting.
|
2019-08-05 16:15:07 +02:00 |
|
Erik Kundt
|
38285b33d7
|
[isoltest] Prints bytes result if expectations mismatch.
|
2019-08-05 15:11:43 +02:00 |
|
Erik Kundt
|
07051f41d2
|
[isoltest] Reworks (default) ABI Type construction.
|
2019-08-05 15:00:04 +02:00 |
|