Skip to content

Commit ac5e44c

Browse files
authored
Make scripting debug test skippable (valkey-io#3368)
I'm developing a module to provide luajit as lua execution engine. See valkey-io#1229 for details. Unfortunately said module doesn't support debugging yet. So in order to test it with valkey tests scripting debug tests need to be skipped. This patch makes an anonymous test skippable by name. Signed-off-by: secwall <secwall@yandex-team.ru>
1 parent ed9016a commit ac5e44c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/unit/scripting.tcl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1658,9 +1658,11 @@ start_server {tags {"scripting repl external:skip"}} {
16581658

16591659
if {$is_eval eq 1 && $script_compatibility_api == "redis"} {
16601660
start_server {tags {"scripting external:skip"}} {
1661-
r script debug sync
1662-
r eval {return 'hello'} 0
1663-
r eval {return 'hello'} 0
1661+
test {Test scripting debug smoke} {
1662+
r script debug sync
1663+
r eval {return 'hello'} 0
1664+
r eval {return 'hello'} 0
1665+
}
16641666
}
16651667

16661668
start_server {tags {"scripting needs:debug external:skip"}} {

0 commit comments

Comments
 (0)