summaryrefslogtreecommitdiffstats
path: root/tests/mantest
diff options
context:
space:
mode:
authorWilliam Langford <wlangford@digitalocean.com>2019-10-22 12:37:19 -0400
committerWilliam Langford <wlangfor@gmail.com>2020-03-02 11:05:43 -0500
commit50a7022ea68fb37faefdcd7a35661df72fbfd655 (patch)
treeaf2268e7b3fb8c04bcc7ccbf705b3dfab4bbe5e6 /tests/mantest
parent8c61ebad0aaee3f5293c5e5077c0aeb0e8c232ec (diff)
Rework pipenv requirement to be more relaxed
Keep a cached copy of the man tests that we can use when no manpage changes are made. This allows automated systems that might not have easy access to a pipenv to build and run tests.
Diffstat (limited to 'tests/mantest')
-rwxr-xr-xtests/mantest3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/mantest b/tests/mantest
index e86792ed..2e429eea 100755
--- a/tests/mantest
+++ b/tests/mantest
@@ -3,5 +3,4 @@
. "${0%/*}/setup" "$@"
# We set PAGER because there's a mantest for `env` that uses it.
-(cd $JQBASEDIR/docs && pipenv run python3 build_mantests.py) |
- env PAGER=less $VALGRIND $Q $JQ -L "$mods" --run-tests
+env PAGER=less $VALGRIND $Q $JQ -L "$mods" --run-tests < $JQBASEDIR/tests/man.test