Skip to content

Commit a2d84c9

Browse files
author
Killian Perlin
committed
Merge branch 'topic/quick_fix_test_rewrite' into 'master'
Fix: Rewriting tests was broken by previous changes See merge request eng/libadalang/langkit-query-language!598
2 parents 8d6e084 + 76569ac commit a2d84c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

testsuite/drivers/interpreter_driver.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ def compute_failures(self):
4949
# Normal test
5050
result = self.compute_diff(filename, baseline, self.output.log)
5151

52+
# If the test has to change no point in checking lkt_refactor
53+
if self.rewrite_baseline:
54+
return result
55+
5256
# Lkt Refactor test
5357
match self.test_env.get('lkt_refactor'):
5458
case None:

0 commit comments

Comments
 (0)