Searched +full:check +full:- +full:shellcheck (Results 1 – 8 of 8) sorted by relevance
/kvm-unit-tests/scripts/ |
H A D | common.bash | 16 local check 22 # shellcheck disable=SC2155 27 while read -r -u $fd line; do 30 if [ -n "${testname}" ]; then 31 …ame" "$groups" "$smp" "$kernel" "$test_args" "$opts" "$arch" "$machine" "$check" "$accel" "$timeou… 36 # Intentionally don't use -append if test_args is empty 38 # -append as a kernel parameter instead of a command 45 check="" 57 while read -r -u $fd; do 79 elif [[ $line =~ ^check\ *=\ *(.*)$ ]]; then [all …]
|
H A D | runtime.bash | 5 PASS() { echo -ne "\e[32mPASS\e[0m"; } 6 SKIP() { echo -ne "\e[33mSKIP\e[0m"; } 7 FAIL() { echo -ne "\e[31mFAIL\e[0m"; } 12 tail -5 | grep '^SUMMARY: ' | sed 's/^SUMMARY: /(/;s/'"$cr"'\{0,1\}$/)/' 42 read -r -p "Test marked not to be run by default, are you sure (y/N)? " yn 61 if [ -z "$reason" ]; then 70 grep -Fq " $1 " <<< " $2 " 83 local check="${CHECK:-$9}" 85 local timeout="${11:-$TIMEOUT}" # unittests.cfg overrides the default 92 if [ -z "$testname" ]; then [all …]
|
/kvm-unit-tests/ |
H A D | run_tests.sh | 7 if [ ! -f config.mak ]; then 8 echo "run ./configure && make first. See ./configure -h" 19 Usage: $0 [-h] [-v] [-a] [-g group] [-j NUM-TASKS] [-t] [-l] 21 -h, --help Output this help text 22 -v, --verbose Enables verbose mode 23 -a, --all Run all tests, including those flagged as 'nodefault' 25 -g, --group Only execute tests in the given group 26 -j, --parallel Execute tests in parallel 27 -t, --tap13 Output test results in TAP format 28 -l, --list Only output all tests list [all …]
|
H A D | Makefile | 4 $(error run ./configure first. See ./configure -h) 14 libdirs-get = $(shell [ -d "lib/$(1)" ] && echo "lib/$(1) lib/$(1)/asm") 15 ARCH_LIBDIRS := $(call libdirs-get,$(ARCH_LIBDIR)) $(call libdirs-get,$(TEST_DIR)) 18 DESTDIR := $(PREFIX)/share/kvm-unit-tests/ 22 # cc-option 23 # Usage: OP_CFLAGS+=$(call cc-option, -falign-functions=0, -malign-functions=0) 24 cc-option = $(shell if $(CC) $(CFLAGS) -Werror $(1) -S -o /dev/null -xc /dev/null \ 46 EFI_CFLAGS := -DCONFIG_EFI -DCONFIG_RELOC 48 # - GNU-EFI/Makefile.defaults 49 # - GNU-EFI/apps/Makefile [all …]
|
H A D | .gitlab-ci.yml | 4 - dnf update -y 5 - dnf install -y make python 15 - logs 23 - build/logs 25 build-aarch64: 28 - dnf install -y qemu-system-aarch64 gcc-aarch64-linux-gnu 29 - ./configure --arch=aarch64 --cross-prefix=aarch64-linux-gnu- 30 - make -j2 31 - ACCEL=tcg MAX_SMP=8 ./run_tests.sh 33 debug-bp [all …]
|
H A D | configure | 3 if [ -z "${BASH_VERSINFO[0]}" ] || [ "${BASH_VERSINFO[0]}" -lt 4 ] ; then 4 echo "Error: Bash version 4 or newer is required for the kvm-unit-tests" 15 echo "cortex-a15" 18 echo "cortex-a57" 33 echo "cortex-a15" 51 arch=$(uname -m | sed -e 's/i.86/i386/;s/arm64/aarch64/;s/arm.*/arm/;s/ppc64.*/ppc64/') 72 # Enable -Werror by default for git repositories only (i.e. developer builds) 73 if [ -e "$srcdir"/.git ]; then 74 werror=-Werror 81 [ -z "$processor" ] && processor=$(get_default_processor $arch) [all …]
|
H A D | README | 1 # Welcome to kvm-unit-tests 3 See http://www.linux-kvm.org/page/KVM-unit-tests for a high-level 18 NOTE: GCC cross-compiler is required for [build on macOS](README.macOS.md). 20 ## Cross-compiling 25 ./configure --arc [all...] |
H A D | README.md | 1 # Welcome to kvm-unit-tests 3 See http://www.linux-kvm.org/page/KVM-unit-tests for a high-level 18 NOTE: GCC cross-compiler is required for [build on macOS](README.macOS.md). 20 ## Cross-compiling 25 ./configure --arch=arm64 --cross-prefix=aarch64-linux-gnu- 32 ./configure --cc=clang 35 clang may also be used with cross binutils when cross-compiling. For example, 38 ./configure --arch=riscv64 --cc=clang --cflags='--target=riscv64' \ 39 --cross-prefix=riscv64-linux-gnu- 48 (send tests/some-test somewhere) [all …]
|