@@ -238,15 +238,14 @@ def default_process_timeout(self):
238238 def run (self ) -> None :
239239 gnatcheck_env = dict (os .environ )
240240
241- # Here we don't want to pollute the LKQL_RULES_PATH and LKQL_PATH with
242- # this repository's LKQL rules: GNATcheck will find those itself by
243- # looking next to its executable. If we let this variable, we might end
244- # up with duplicate definitions of rules, for example if this repository
245- # is a copy of the original LKQL repository (which is actually what
246- # happens in production: the checkout used for testing is separate
247- # from that used for building).
248- gnatcheck_env ["LKQL_RULES_PATH" ] = getattr (self .env , "gnatcheck_rules_path" , "" )
249- gnatcheck_env ["LKQL_PATH" ] = ""
241+ # Here we don't want to pollute LKQL_PATH with this repository's LKQL
242+ # rules: GNATcheck will find those itself by looking next to its
243+ # executable. If we let this variable, we might end up with duplicate
244+ # definitions of rules, for example if this repository is a copy of the
245+ # original LKQL repository (which is actually what happens in
246+ # production: the checkout used for testing is separate from that used
247+ # for building).
248+ gnatcheck_env ["LKQL_PATH" ] = getattr (self .env , "gnatcheck_rules_path" , "" )
250249
251250 # Get the test provided custom GNATcheck worker
252251 custom_worker = self .test_env .get ("worker" , None )
0 commit comments