summaryrefslogtreecommitdiff
path: root/test/tests/find-python-executable.bash
Commit message (Collapse)AuthorAge
* Unify Vagrant and Travis-CI testsAnish Athalye2020-01-03
| | | | | | | | | | This patch makes the tests (including the test driver) run entirely inside Vagrant, which avoids calling the very slow `vagrant` driver many times for running the tests. On my machine, `./test` runs in 22 seconds, down from hundreds of seconds prior to this patch. This also has the nice side effect of matching how the Travis CI tests were run, so there's no need for a separate `test_travis` anymore.
* Replace `which` with `command -v`Paulo Fagundes2019-11-09
| | | | | | | | | Some distributions such as Arch Linux no longer install `which` by default through the base package (see https://www.archlinux.org/news/base-group-replaced-by-mandatory-base-package-manual-intervention-required/). The maintainers have explained why `command -v` is superior: https://www.reddit.com/r/archlinux/comments/de1er6/arch_linux_news_base_group_replaced_by_mandatory/f2v8uhu/.
* Fix bug in test harnessAnish Athalye2018-03-27
| | | | | | | | | | | | Because 'bin/dotbot' is a hybrid sh/Python script that finds the appropriate Python binary and then runs, the test code should not invoke it as an sh script when sh does not source the pyenv initialization script. The fix implemented in this patch is to directly run 'bin/dotbot' as a Python script using 'python', which when called from bash, will run with the correct Python version (because bash is set up to source the pyenv initialization script).
* Make launcher find python binaryAnish Athalye2017-04-19