mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 08:51:07 +01:00
[tests] Remove bash'ish
Apparently on travis-ci, bash is linked to dash, which doesn't understand "let". Failing tests were not being noticed. See eg: https://travis-ci.org/behdad/harfbuzz/jobs/29544211 Don't rely on bash.
This commit is contained in:
1 parent
0afedaa96c
commit
6bd5646f1b
1 file changed
+2
-2
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
test "x$srcdir" = x && srcdir=.
|
||||
test "x$builddir" = x && builddir=.
|
||||
@@ -21,7 +21,7 @@ for f in "$@"; do
|
||||
if ! test "x$glyphs" = "x$glyphs_expected"; then
|
||||
echo "Actual: $glyphs" >&2
|
||||
echo "Expected: $glyphs_expected" >&2
|
||||
let fails=$fails+1
|
||||
fails=$((fails+1))
|
||||
fi
|
||||
done < "$f"
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user