aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-28 13:12:36 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-28 13:12:36 +0100
commitf42d44cc228a01d9e4f91de187a38c81fcd50a51 (patch)
treee1ce834615fe3f513ecad19ad15108d9e7e50e6d /test/functional/cases
parent1b152c5db87f6bc306e51a24b5024d0083f9b1bb (diff)
downloadrspamd-f42d44cc228a01d9e4f91de187a38c81fcd50a51.tar.gz
rspamd-f42d44cc228a01d9e4f91de187a38c81fcd50a51.zip
[Test] Rework tests framework to run in a custom environment
Diffstat (limited to 'test/functional/cases')
-rw-r--r--test/functional/cases/__init__.robot9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/functional/cases/__init__.robot b/test/functional/cases/__init__.robot
index 4b95b9217..3707f507b 100644
--- a/test/functional/cases/__init__.robot
+++ b/test/functional/cases/__init__.robot
@@ -6,7 +6,10 @@ Variables ../lib/vars.py
*** Keywords ***
Export Global Variables
${TESTDIR} = Get Test Directory
- Set Global Variable ${RSPAMADM} ${TESTDIR}/../../src/rspamadm/rspamadm
- Set Global Variable ${RSPAMC} ${TESTDIR}/../../src/client/rspamc
- Set Global Variable ${RSPAMD} ${TESTDIR}/../../src/rspamd
+ ${RSPAMADM} = Get Rspamadm
+ ${RSPAMC} = Get Rspamc
+ ${RSPAMD} = Get Rspamd
+ Set Global Variable ${RSPAMADM}
+ Set Global Variable ${RSPAMC}
+ Set Global Variable ${RSPAMD}
Set Global Variable ${TESTDIR}