ソースを参照

Merge pull request #4672 from fatalbanana/robot_export_vars

[Minor] Make Robot Framework loop unfunny
tags/3.8.0
Vsevolod Stakhov 7ヶ月前
コミット
db51a5e6c6
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更10行の追加6行の削除
  1. 10
    6
      test/functional/lib/rspamd.robot

+ 10
- 6
test/functional/lib/rspamd.robot ファイルの表示

@@ -163,16 +163,20 @@ Export Rspamd Variables To Environment

Export Scoped Variables
[Arguments] ${scope} &{vars}
FOR ${k} ${v} IN &{vars}
IF '${scope}' == 'Test'
IF '${scope}' == 'Test'
FOR ${k} ${v} IN &{vars}
Set Test Variable ${${k}} ${v}
ELSE IF '${scope}' == 'Suite'
END
ELSE IF '${scope}' == 'Suite'
FOR ${k} ${v} IN &{vars}
Set Suite Variable ${${k}} ${v}
ELSE IF '${scope}' == 'Global'
END
ELSE IF '${scope}' == 'Global'
FOR ${k} ${v} IN &{vars}
Set Global Variable ${${k}} ${v}
ELSE
Fail message="Don't know what to do with scope: ${scope}"
END
ELSE
Fail message="Don't know what to do with scope: ${scope}"
END

Log does not contain segfault record

読み込み中…
キャンセル
保存