From a7dc5ff2e9369498c74326735f57e409a519e5ca Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 13 Apr 2017 21:22:18 +0300 Subject: Start on lib.py --- check | 6 ++++-- lib.py | 8 ++++++++ without-tests | 1 + 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 lib.py create mode 100644 without-tests diff --git a/check b/check index 10d834d..c465984 100755 --- a/check +++ b/check @@ -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 "$@" diff --git a/lib.py b/lib.py new file mode 100644 index 0000000..56eea02 --- /dev/null +++ b/lib.py @@ -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 -- cgit v1.2.1