diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-04-13 21:22:18 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-04-13 21:22:18 +0300 |
commit | a7dc5ff2e9369498c74326735f57e409a519e5ca (patch) | |
tree | 4c1da2fd553bc5061eabb00502db06c1f473c569 | |
parent | c882278f10f5d72535b3e08c89a3a2068ca706ef (diff) | |
download | server-yarns-a7dc5ff2e9369498c74326735f57e409a519e5ca.tar.gz |
Start on lib.py
-rwxr-xr-x | check | 6 | ||||
-rw-r--r-- | lib.py | 8 | ||||
-rw-r--r-- | without-tests | 1 |
3 files changed, 13 insertions, 2 deletions
@@ -13,11 +13,13 @@ then PASSWORD_STORE_DIR="$HOME/.password-store" fi -python -m CoverageTestRunner +python -m CoverageTestRunner --ignore-missing-from=without-tests + yarn --env "ADDRESS=$address" \ --env 'PYTHONPATH=.' \ --env "PASSWORD_STORE_DIR=$PASSWORD_STORE_DIR" \ --env "PASS_HOME=$HOME" \ --env "VARIABLES=$variables" \ --env "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" \ - --shell python2 --shell-arg '' *.yarn "$@" + --shell python2 --shell-arg '' --shell-library lib.py \ + *.yarn "$@" @@ -0,0 +1,8 @@ +import os + +import yarnutils + +srcdir = os.environ['SRCDIR'] +datadir = os.environ['DATADIR'] + +vars = yarnutils.Variables(datadir) diff --git a/without-tests b/without-tests new file mode 100644 index 0000000..92c075e --- /dev/null +++ b/without-tests @@ -0,0 +1 @@ +lib.py |