From 9f7797020b1277c733a2f496117df01105ddba31 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 20 Sep 2017 02:31:49 -0300 Subject: [tests] add back sqlcipher checks to tox setup --- scripts/testing/ensure-pysqlcipher-has-usleep.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/testing/ensure-pysqlcipher-has-usleep.sh b/scripts/testing/ensure-pysqlcipher-has-usleep.sh index d3d93d86..d1148aa0 100755 --- a/scripts/testing/ensure-pysqlcipher-has-usleep.sh +++ b/scripts/testing/ensure-pysqlcipher-has-usleep.sh @@ -9,5 +9,8 @@ install_bundled_pysqlcipher() { pip uninstall -y pysqlcipher pip install --install-option="--bundled" pysqlcipher } - -./check-pysqlcipher.py || (install_bundled_pysqlcipher && ./check-pysqlcipher.py) +check_pysqlcipher() { + SCRIPTPATH=$( cd $(dirname $0) ; pwd -P ) + $SCRIPTPATH/check-pysqlcipher.py +} +check_pysqlcipher || (install_bundled_pysqlcipher && check_pysqlcipher) -- cgit v1.2.3