mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Deleting yul unimplemented test.
This commit is contained in:
parent
ddb05769a5
commit
b74c08143f
@ -188,14 +188,14 @@ def examine_id_coverage(top_dir, source_id_to_file_names, new_ids_only=False):
|
||||
# Warning (1878): SPDX license identifier not provided in source file. ....
|
||||
# Warning (3420): Source file does not specify required compiler version!
|
||||
test_ids |= find_ids_in_cmdline_test_err(path.join(top_dir, "test", "cmdlineTests", "error_codes", "err"))
|
||||
test_ids |= find_ids_in_cmdline_test_err(path.join(top_dir, "test", "cmdlineTests", "yul_unimplemented", "err"))
|
||||
|
||||
# white list of ids which are not covered by tests
|
||||
white_ids = {
|
||||
"3805", # "This is a pre-release compiler version, please do not use it in production."
|
||||
# The warning may or may not exist in a compiler build.
|
||||
"4591" # "There are more than 256 warnings. Ignoring the rest."
|
||||
"4591", # "There are more than 256 warnings. Ignoring the rest."
|
||||
# Due to 3805, the warning lists look different for different compiler builds.
|
||||
"1834" # Unimplemented feature error, as we do not test it anymore via cmdLineTests
|
||||
}
|
||||
assert len(test_ids & white_ids) == 0, "The sets are not supposed to intersect"
|
||||
test_ids |= white_ids
|
||||
|
@ -1 +0,0 @@
|
||||
--ir --error-codes
|
@ -1,5 +0,0 @@
|
||||
Error (1834): Unimplemented feature error in <FILENAME REMOVED>
|
||||
--> yul_unimplemented/input.sol:6:16:
|
||||
|
|
||||
6 | return type(test).name;
|
||||
| ^^^^^^^^^^^^^^^
|
@ -1 +0,0 @@
|
||||
1
|
@ -1,8 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-3.0
|
||||
pragma solidity >=0.0;
|
||||
pragma abicoder v2;
|
||||
contract test {
|
||||
function f() public pure returns (string memory) {
|
||||
return type(test).name;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user