Fix warnings reported by bashate.
See https://pypi.org/project/bashate/ for more info.
This commit is contained in:
@@ -18,7 +18,7 @@ export PYTHONDONTWRITEBYTECODE=1
|
||||
cd $(dirname "$0")
|
||||
topdir=$(pwd)
|
||||
|
||||
function banner() {
|
||||
function banner {
|
||||
echo "====== $@ ======"
|
||||
}
|
||||
|
||||
|
||||
@@ -8,15 +8,14 @@ set -euo pipefail
|
||||
cd $(dirname "$0")
|
||||
topdir=$(pwd)
|
||||
|
||||
function banner() {
|
||||
function banner {
|
||||
echo "====== $@ ======"
|
||||
}
|
||||
|
||||
# Test those packages which have no_std support.
|
||||
LIBS="codegen frontend wasm native module simplejit umbrella"
|
||||
cd "$topdir"
|
||||
for LIB in $LIBS
|
||||
do
|
||||
for LIB in $LIBS; do
|
||||
banner "Rust unit tests in $LIB"
|
||||
cd "lib/$LIB"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
set -euo pipefail
|
||||
cd $(dirname "$0")
|
||||
|
||||
function runif() {
|
||||
function runif {
|
||||
if command -v "$1" > /dev/null; then
|
||||
echo " === $1 ==="
|
||||
"$@"
|
||||
|
||||
Reference in New Issue
Block a user