mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Bytecode compare fix
This commit is contained in:
parent
2fb668fa47
commit
a44fbcf111
@ -150,6 +150,12 @@ if __name__ == '__main__':
|
|||||||
options = parser.parse_args()
|
options = parser.parse_args()
|
||||||
path = options.path
|
path = options.path
|
||||||
|
|
||||||
|
# ignore the test with broken utf-8 encoding and experimental tests
|
||||||
|
exclude_files = {
|
||||||
|
"invalid_utf8_sequence.sol",
|
||||||
|
"stub.sol"
|
||||||
|
}
|
||||||
|
|
||||||
if isfile(path):
|
if isfile(path):
|
||||||
extract_and_write(path, options.language)
|
extract_and_write(path, options.language)
|
||||||
else:
|
else:
|
||||||
@ -159,7 +165,7 @@ if __name__ == '__main__':
|
|||||||
if 'compilationTests' in subdirs:
|
if 'compilationTests' in subdirs:
|
||||||
subdirs.remove('compilationTests')
|
subdirs.remove('compilationTests')
|
||||||
for f in files:
|
for f in files:
|
||||||
if basename(f) == "invalid_utf8_sequence.sol":
|
if basename(f) in exclude_files:
|
||||||
continue # ignore the test with broken utf-8 encoding
|
continue
|
||||||
path = join(root, f)
|
path = join(root, f)
|
||||||
extract_and_write(path, options.language)
|
extract_and_write(path, options.language)
|
||||||
|
Loading…
Reference in New Issue
Block a user