diff options
author | Victor Shyba <victor1984@riseup.net> | 2017-09-20 02:31:49 -0300 |
---|---|---|
committer | Victor Shyba <victor1984@riseup.net> | 2017-09-20 02:31:49 -0300 |
commit | 9f7797020b1277c733a2f496117df01105ddba31 (patch) | |
tree | 7cd91cd239ceafb1011c743cc3b8c06739def743 /scripts/testing | |
parent | 5c3bdc73f25139e662902f135e1e10c68cffec12 (diff) |
[tests] add back sqlcipher checks to tox setup
Diffstat (limited to 'scripts/testing')
-rwxr-xr-x | scripts/testing/ensure-pysqlcipher-has-usleep.sh | 7 |
1 files changed, 5 insertions, 2 deletions
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) |