Skip to content

Commit 145c13f

Browse files
committed
travis: Prevent fbc hang during fbdoc builds
see also 311d77d, 65325d5
1 parent 2f7d004 commit 145c13f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

contrib/travis/build-and-test.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
2+
# We have to redirect stdin to /dev/null for all fbc invocations,
3+
# otherwise it hangs trying to interact with tty which doesn't exist.
24
set -ex
35

46
source "$(dirname "$0")/bootstrap-settings.sh"
@@ -61,8 +63,8 @@ fi
6163

6264
# Build fbdoc tools
6365
cd doc/libfbdoc
64-
make FBC="$FBC_FOR_TESTS"
66+
make FBC="$FBC_FOR_TESTS" </dev/null
6567
cd ../fbdoc
66-
make FBC="$FBC_FOR_TESTS"
68+
make FBC="$FBC_FOR_TESTS" </dev/null
6769
cd ../fbchkdoc
68-
make FBC="$FBC_FOR_TESTS"
70+
make FBC="$FBC_FOR_TESTS" </dev/null

0 commit comments

Comments
 (0)