Skip to content

Commit bdf40aa

Browse files
committed
test: run distcheck in docker, ditto test suite driven by it
1 parent 5a53bc1 commit bdf40aa

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

test/docker/docker-script.sh

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,6 @@ if [ "$BSD" ]; then
2020
export PATH
2121
fi
2222

23-
export bashcomp_bash=bash
24-
env
25-
26-
autoreconf -i
27-
./configure
28-
make -j
29-
30-
make -C completions check
31-
3223
case $DIST in
3324
centos6|ubuntu14)
3425
: ${PYTEST:=/root/.local/bin/pytest}
@@ -38,12 +29,14 @@ case $DIST in
3829
;;
3930
esac
4031

41-
cd test
42-
xvfb-run $PYTEST --numprocesses=${PYTEST_NUMPROCESSES:-auto} --dist=loadfile t
43-
xvfb-run ./runCompletion --all --verbose
44-
./runInstall --verbose --all --verbose
45-
./runUnit --all --verbose
32+
export bashcomp_bash=bash
33+
env
34+
35+
autoreconf -i
36+
./configure
37+
make -j
4638

47-
cd ..
48-
mkdir install-test
49-
make install DESTDIR=$(pwd)/install-test
39+
xvfb-run make distcheck \
40+
PYTEST=$PYTEST \
41+
PYTESTFLAGS="--numprocesses=auto --dist=loadfile" \
42+
RUNTESTFLAGS="--all --verbose"

0 commit comments

Comments
 (0)