Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions bb/tests/keywords_pytest.robot
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
RunPyTest
[Arguments] ${testcase} ${args}
set test variable ${oldcmd} ${CMDLAUNCHER}
${pysize}= Get File Size /usr/bin/python2
${pysize}= Get File Size /usr/bin/python3

Run keyword if '${pysize} > 0' set test variable ${CMDLAUNCHER} python2
Run keyword if '${pysize} > 0' set test variable ${CMDLAUNCHER} python3
Run keyword unless '${pysize} > 0' set test variable ${CMDLAUNCHER} python
Run keyword unless '${pysize} > 0' set test variable ${CMDLAUNCHER} python2

mpirun ${WORKDIR}/bb/wrappers/bbapi_main.py --libpath ${WORKDIR}/bb/lib --testpath ${WORKDIR}/bb/wrappers --testcase ${testcase} ${args}
set test variable ${CMDLAUNCHER} ${oldcmd}
Loading