mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2026-01-23 02:14:29 +00:00
Specs: improve spec runner
This commit is contained in:
parent
8e040e58a1
commit
d94b30c2fa
1 changed files with 7 additions and 3 deletions
10
run-specs
10
run-specs
|
|
@ -1,8 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
export PYTHONPATH=${PWD}/spec
|
||||
|
||||
cd spec/
|
||||
pipenv run mamba *_spec.py
|
||||
RUN_CMD="pipenv run mamba"
|
||||
|
||||
if [[ -n "$1" ]]; then
|
||||
$RUN_CMD "$1"
|
||||
else
|
||||
$RUN_CMD spec/*_spec.py
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue