Code Review
/
transportpce.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Turn ServiceDataStoreOperationsImpl into Component
[transportpce.git]
/
tests
/
launch_tests.sh
diff --git
a/tests/launch_tests.sh
b/tests/launch_tests.sh
index 63beeb52887a007137409092f8e18964893bad8b..497209341bde920a81119740c4f095cbc399facc 100755
(executable)
--- a/
tests/launch_tests.sh
+++ b/
tests/launch_tests.sh
@@
-31,11
+31,19
@@
else
done
fi
if [ -z "$LAUNCHER" ]; then
done
fi
if [ -z "$LAUNCHER" ]; then
- if [
-d "allure-report"
]; then
-
LAUNCHER="python3 -m pytest --alluredir=allure-report/ -q
"
+ if [
`which pytest-3`
]; then
+
LAUNCHER="pytest-3
"
else
else
- LAUNCHER="python3 -m pytest -q"
+ if [ `which pytest` ]; then
+ LAUNCHER="pytest"
+ else
+ LAUNCHER="python3 -m pytest"
+ fi
+ fi
+ if [ -d "allure-report" ]; then
+ LAUNCHER="$LAUNCHER --alluredir=allure-report/"
fi
fi
+ LAUNCHER="$LAUNCHER -q"
fi
for script in $scriptlist; do
fi
for script in $scriptlist; do