t/zbd: fix wrong units in test case #37
[fio.git] / ci / travis-build.sh
... / ...
CommitLineData
1#!/bin/bash
2set -eu
3
4CI_TARGET_ARCH="${BUILD_ARCH:-$TRAVIS_CPU_ARCH}"
5EXTRA_CFLAGS="-Werror"
6export PYTHONUNBUFFERED=TRUE
7CONFIGURE_FLAGS=()
8
9case "$TRAVIS_OS_NAME" in
10 "linux")
11 CONFIGURE_FLAGS+=(--enable-libiscsi)
12 case "$CI_TARGET_ARCH" in
13 "x86")
14 EXTRA_CFLAGS="${EXTRA_CFLAGS} -m32"
15 export LDFLAGS="-m32"
16 ;;
17 "amd64")
18 CONFIGURE_FLAGS+=(--enable-cuda)
19 ;;
20 esac
21 ;;
22esac
23CONFIGURE_FLAGS+=(--extra-cflags="${EXTRA_CFLAGS}")
24
25./configure "${CONFIGURE_FLAGS[@]}" &&
26 make &&
27 make test &&
28 if [[ "$CI_TARGET_ARCH" == "arm64" ]]; then
29 sudo python3 t/run-fio-tests.py --skip 6 1007 1008 --debug -p 1010:"--skip 15 16 17 18 19 20"
30 else
31 sudo python3 t/run-fio-tests.py --skip 6 1007 1008 --debug
32 fi