From a27b79fece7141829795fcc492d149845eac0f26 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 4 Aug 2020 17:18:57 +0100 Subject: [PATCH] Add yulSyntaxTests to error_codes.py --- scripts/error_codes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/error_codes.py b/scripts/error_codes.py index 6e9159b74..7b5966412 100755 --- a/scripts/error_codes.py +++ b/scripts/error_codes.py @@ -171,12 +171,13 @@ def examine_id_coverage(top_dir, source_id_to_file_names, new_ids_only=False): test_sub_dirs = [ path.join("test", "libsolidity", "errorRecoveryTests"), path.join("test", "libsolidity", "smtCheckerTests"), - path.join("test", "libsolidity", "syntaxTests") + path.join("test", "libsolidity", "syntaxTests"), + path.join("test", "libyul", "yulSyntaxTests") ] test_file_names = find_files( top_dir, test_sub_dirs, - [".sol"] + [".sol", ".yul"] ) source_ids = source_id_to_file_names.keys() test_ids = find_ids_in_test_files(test_file_names)