Erik Flodin
f67189c6b7
Use local version of yadm by default (in testhost/scripthost)
...
Also symlink instead of copy in that case, so that changes locally can
be reflected in the testhost directly, and print the used version in a
more readable format.
4 years ago
Tim Byrne
207e0a9850
Use -E instead of -r
...
The BSD version of sed doesn't support -r, but -E seems universally
supported.
4 years ago
Erik Flodin
8d15eb970e
Don't pass -k to py.test when doing make test/test_foo.py
...
As py.test then complains about "Wrong expression passed to '-k'"
4 years ago
Erik Flodin
32cc51c391
Document version=local in make usage text
4 years ago
Erik Flodin
64da1a6bee
Include released yadm versions also in testenv
4 years ago
Erik Flodin
44de30374f
Only run docker in interactive mode when stdin is a terminal
4 years ago
Erik Flodin
a9d9e89d0c
Use a common target to pick yadm to test in test/scripthost
4 years ago
Tim Byrne
d0b0e3afa8
Update testbed version
4 years ago
Erik Flodin
39e43a7a74
Remove the requirement on docker-compose for running tests
...
Besides simplifying the setup it also has the nice side-effect of
being able to override the docker image on the command line:
$ make test IMAGE=foobar
4 years ago
Erik Flodin
22d5e03657
Fix contrib make target
...
Set shell explicitly as it doesn't work with the default shell on Debian.
4 years ago
Tim Byrne
c8d516c67d
Bump versions of required linters
4 years ago
Tim Byrne
62a86ecd27
Support "make testhost version=local"
4 years ago
Tim Byrne
48d77c9f21
Use make variables instead of env variables
4 years ago
Erik Flodin
3741b92737
Fix setting the default value of version in Makefile
...
As each command in a make target is executed separately, a variable set in one
command isn't available in the following commands.
4 years ago
Erik Flodin
95c17d0bc5
Make shell redirections in Makefile work with dash
...
The default shell in Debian is dash and it doesn't support &>.
4 years ago
Tim Byrne
4ff12c7125
Sort contributors by lines changed
...
Previously number of commits were used
4 years ago
Tim Byrne
71ecf27291
Update testbed docker image
4 years ago
Jonathan Daigle
f348e154c7
Add support for ESH
4 years ago
Tim Byrne
bd68229c57
Use include "venv" instead of "virtualenv"
5 years ago
Tim Byrne
d16f4b134a
Add man to testbed Docker image
5 years ago
Tim Byrne
fe96cfce28
Update testbed image to use GnuPG 2
5 years ago
Tim Byrne
4d23bbcf11
Standardize on &> when not appending output
5 years ago
Tim Byrne
2eb8a9e362
Add make install
5 years ago
Tim Byrne
1fc52536ac
Fix contrib make target (dev has been changed to develop)
5 years ago
Tim Byrne
2508378617
Upgrade yadm testbed
...
* Update software in Dockerfile
* Add j2cli
* Bump supported versions of linters
5 years ago
Tim Byrne
282b772ce5
Add yamllint to testenv
...
Also organize pip install command so software can be added/removed
easier.
6 years ago
Tim Byrne
abcc201894
Improve Makefile usage info
6 years ago
Tim Byrne
27859af307
Add make target "scripthost"
...
Hopefully this target will help others demonstrate problems in a
reproducible way.
6 years ago
Tim Byrne
23e4b38ef2
Update Makefile
...
* Add usage/help
* Check for dependencies in testing targets
* Remove bats-based targets
* Change location of testenv
6 years ago
Tim Byrne
e7f9616b39
Rewrite testing system ( #119 )
...
The new test system is written with py.test. These tests are more
comprehensive, run faster by an order of magnitude, and are far more
maintainable. The tests themselves conform to PEP8.
6 years ago
Tim Byrne
db9c00287b
Fix contrib target
7 years ago
Tim Byrne
e09b5a551e
Declare PHONY targets in Makefile
7 years ago
Tim Byrne
eef9bfa2f7
Add a `testhost` target
...
This target runs Bash in an ephemeral docker container with the HEAD
revision of yadm mounted at /bin/yadm. You can override the version
using any "commit-ish". Eg. `target=1.06 make testhost`
7 years ago
Tim Byrne
356c47a19f
Add Bash completion script ( #60 )
...
* Add completion script
* Add introspection
8 years ago
Tim Byrne
97b784d55d
Process bootstrap with Shellcheck
8 years ago
Tim Byrne
3f7e8b148e
Add make target `parallel`
8 years ago
Tim Byrne
a09738616d
Expand branches used for generating CONTRIBUTORS
8 years ago
Tim Byrne
06757b3544
Write .bash version of .bats to /tmp
8 years ago
Tim Byrne
bd3ed72ee8
Unset GPG_AGENT_INFO while tests are running
8 years ago
Tim Byrne
b3209de4dc
Add shellcheck tests
9 years ago
Tim Byrne
d2cd3b1b26
Add tests
...
Tests will be run using `bats`.
9 years ago
Tim Byrne
20f47be9fe
Add CONTRIBUTORS
9 years ago
Tim Byrne
f1a75db991
Create make targets for processing documentation
9 years ago