Skip to content

Commit ecb6585

Browse files
willieyzmkannwischer
authored andcommitted
autogen: Fix placement of config autogeneration
- Autogenerate test configurations _before_ macro typo check. Otherwise, a typo in the main config that has spread into the derived configs cannot be fixed by fixing it in the main config and re-running autogen: It will fail at the macro-typo check stage before having updated the derived configurations. Signed-off-by: willieyz <willie.zhao@chelpis.com>
1 parent e864ded commit ecb6585

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/autogen

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2951,12 +2951,12 @@ def _main():
29512951
gen_undefs()
29522952
high_level_status("Generated undefs")
29532953

2954-
check_macro_typos()
2955-
high_level_status("Checked macro typos")
2956-
29572954
gen_test_configs()
29582955
high_level_status("Generated test configs")
29592956

2957+
check_macro_typos()
2958+
high_level_status("Checked macro typos")
2959+
29602960
gen_preprocessor_comments()
29612961
high_level_status("Generated preprocessor comments")
29622962

0 commit comments

Comments
 (0)