From 8defd1085e4e4f3c11b33f5a426ce21b648d0dd4 Mon Sep 17 00:00:00 2001 From: Elizabeth Mattijsen Date: Tue, 17 Oct 2023 14:35:38 +0200 Subject: [PATCH] Mark RakuAST FIRST tests as todo if not run under RAKUDO_RAKUAST=1 Recent changes made the trees dependent on the Raku grammar/actions and thus will not function correctly with the legacy grammar --- t/12-rakuast/statement-phaser.rakutest | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/12-rakuast/statement-phaser.rakutest b/t/12-rakuast/statement-phaser.rakutest index 8263e20774a..a479073c1ad 100644 --- a/t/12-rakuast/statement-phaser.rakutest +++ b/t/12-rakuast/statement-phaser.rakutest @@ -985,6 +985,7 @@ CODE } } +todo("Depends on Raku grammar/actions") unless %*ENV; subtest 'While loop with FIRST phaser block and return value' => { my $run; my $guard = True; @@ -1062,6 +1063,7 @@ CODE } } +todo("Depends on Raku grammar/actions") unless %*ENV; subtest 'Subroutine with FIRST phaser block and return value' => { my $run; my $guard;