Skip to content

Commit f6b44d1

Browse files
scopyedayak
authored andcommitted
test: add macOS test script
1 parent 9f5aedb commit f6b44d1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

test/macos-script.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/sh -eux
2+
3+
# Note that this script is intended to be run only in throwaway environments;
4+
# it may install undesirable things to system locations (if it succeeds in
5+
# that).
6+
7+
brew install \
8+
automake \
9+
bash
10+
11+
python3 -m pip install -r test/requirements.txt
12+
13+
export bashcomp_bash=bash
14+
env
15+
16+
autoreconf -i
17+
./configure
18+
make -j
19+
20+
make distcheck \
21+
PYTESTFLAGS="${PYTESTFLAGS---verbose --numprocesses=auto --dist=loadfile}"
22+
cp -p bash-completion-*.tar.* "$oldpwd/"

0 commit comments

Comments
 (0)