Home
last modified time | relevance | path

Searched full:run (Results 1 – 25 of 65) sorted by relevance

123

/kvm-unit-tests/docs/
H A Dunittests.txt6 directory, and how to run it. This way, for example, a single file can
7 provide multiple test cases by being run with different host configurations
19 a set of parameters that control how the test case is run. The name is
28 test is run, while others like arch and accel restrict the configurations
29 in which the test is run.
36 directory to run. Typically this is <name>.flat or <name>.elf, depending
42 the test to the specified arch. By default, the test will run on any
48 the test to the specified machine. By default, the test will run on
56 Optional, the number of processors created in the machine to run the test.
93 Used to group the test cases for the `run_tests.sh -g ...` run group
[all …]
/kvm-unit-tests/
H A DREADME.md61 ./x86-run ./x86/msr.flat
66 to run them all.
68 All tests can be run using QEMU. On arm, arm64, riscv32, and riscv64 tests can
69 also be run using kvmtool.
75 QEMU=/tmp/qemu/x86_64-softmmu/qemu-system-x86_64 ./x86-run ./x86/msr.flat
80 ACCEL=kvm ./x86-run ./x86/msr.flat
91 then run the test(s) like with QEMU above.
100 This is only supported with QEMU; kvmtool cannot run the tests under UEFI.
139 Some tests are not safe to run by default, as they may crash the
144 it is only run when invoked
[all …]
H A DREADME61 ./x86-run ./x86/msr.flat
66 to run them all.
68 All tests can be run using QEMU. On arm, arm64, riscv32, and riscv64 tests can
69 also be run using kvmtool.
75 QEMU=/tmp/qemu/x86_64-softmmu/qemu-system-x86_64 ./x86-run ./x86/msr.flat
80 ACCEL=kvm ./x86-run ./x86/msr.flat
91 then run the test(s) like with QEMU above.
100 This is only supported with QEMU; kvmtool cannot run the tests under UEFI.
139 Some tests are not safe to run by default, as they may crash the
144 it is only run whe
[all...]
H A Drun_tests.sh5 run_all_tests="no" # don't run nodefault tests
8 echo "run ./configure && make first. See ./configure -h"
23 -a, --all Run all tests, including those flagged as 'nodefault'
33 QEMU Path to QEMU binary for ARCH-run
40 KVMTOOL Path to kvmtool binary for ARCH-run
44 RUNTIME_arch_run="./$TEST_SUBDIR/run"
167 run "$@"
169 run "$@" &
H A Dconfigure26 # Return the default CPU type to run on
89 --target-cpu=CPU the CPU model to run on. If left unset, the run script
135 --[enable|disable]-efi Boot and run from UEFI (disabled by default, x86_64 and arm64 only)
139 Select whether to run EFI tests directly with QEMU's -kernel
141 system and run from the UEFI shell. Ignored when efi isn't enabled
413 if [ "$efi" = "y" ] && [ -f "$srcdir/$testdir/efi/run" ]; then
414 ln -fs "$srcdir/$testdir/efi/run" $testdir-run
415 elif [ -f "$srcdir/$testdir/run" ]; then
416 ln -fs "$srcdir/$testdir/run" $testdir-run
456 ln -sf "$srcdir/$testdir/run" $testdir/
[all …]
H A DMakefile4 $(error run ./configure first. See ./configure -h)
139 $(RM) lib/asm lib/config.h config.mak $(TEST_DIR)-run msr.out cscope.* build-head
151 …shellcheck -P $(SRCDIR) -a $(SRCDIR)/run_tests.sh $(SRCDIR)/*/run $(SRCDIR)/*/efi/run $(SRCDIR)/sc…
H A D.gitignore20 /*-run
/kvm-unit-tests/x86/efi/
H A DREADME.md1 # Build kvm-unit-tests and run under UEFI
5 This dir provides code to build kvm-unit-tests test cases and run them under
12 - [UEFI firmware](https://github.com/tianocore/edk2): to run test cases in QEMU
21 ### Run test cases with UEFI
23 To run a test case with UEFI:
25 ./x86/efi/run ./x86/msr.efi
31 EFI_UEFI=/path/to/OVMF.fd ./x86/efi/run ./x86/msr.efi
H A Drun11 echo "run './configure --enable-efi && make' first. See ./configure -h"
46 # Run test case with 256MiB QEMU memory. QEMU default memory size is 128MiB.
49 # run in UEFI, some test cases, e.g. `x86/pmu.c`, require more free memory. A
54 # to x86/run. This `smp` flag overrides any previous `smp` flags (e.g.,
57 "$TEST_DIR/run" \
/kvm-unit-tests/arm/efi/
H A Drun9 echo "run './configure --enable-efi && make' first. See ./configure -h"
13 source scripts/arch-run.bash
69 $TEST_DIR/run \
84 UEFI_SHELL_RUN=y $TEST_DIR/run -machine dumpdtb="$EFI_CASE_DIR/$FDT_BASENAME" "${qemu_args[@]}"
89 UEFI_SHELL_RUN=y $TEST_DIR/run \
96 $TEST_DIR/run \
/kvm-unit-tests/riscv/efi/
H A Drun9 echo "run './configure --enable-efi && make' first. See ./configure -h"
13 source scripts/arch-run.bash
67 $TEST_DIR/run \
84 UEFI_SHELL_RUN=y $TEST_DIR/run \
93 UEFI_SHELL_RUN=y $TEST_DIR/run \
104 $TEST_DIR/run \
/kvm-unit-tests/x86/
H A DREADME2 Tests for the x86 architecture are run as kernel images for qemu that support
10 These invocations run the msr test case and outputs to stdio.
35 smptest: run smp_id() on every cpu and compares return value to number
46 The run script converts the qemu-system exit status to 0 (SUCCESS), and
H A Drun5 echo "run ./configure && make first. See ./configure -h"
9 source scripts/arch-run.bash
54 # 'scripts/arch-run.bash' for more details). This is because when using
/kvm-unit-tests/riscv/
H A Drun5 echo "run ./configure && make first. See ./configure -h"
9 source scripts/arch-run.bash
73 command="$(timeout_cmd) $kvmtool run"
76 echo "Cannot run guests with a different xlen than the host" >&2
/kvm-unit-tests/scripts/
H A Dmkstandalone.sh4 echo "run ./configure && make first. See ./configure -h"
78 cat scripts/vmm.bash scripts/arch-run.bash "$TEST_DIR/run") \
88 echo "run ${args[*]}"
H A Dcheck-patch.py3 # check-patch.py: run checkpatch.pl across all commits in a branch
54 ret = subprocess.run(["scripts/checkpatch.pl", "--terse", "--no-tree", "--git",
H A Dgit.difforder9 */run
H A Druntime.bash42 read -r -p "Test marked not to be run by default, are you sure (y/N)? " yn
73 function run() function
111 print_result "SKIP" $testname "" "test marked as manual run only"
/kvm-unit-tests/lib/powerpc/asm/
H A Dprocessor.h82 * This returns true on PowerNV / OPAL machines which run in hypervisor
83 * mode. False on pseries / PAPR machines that run in guest mode.
91 * This returns true on pseries / PAPR / KVM machines which run under a
/kvm-unit-tests/scripts/s390x/
H A Dfunc.bash21 # run the normal test case
24 # run PV test case
/kvm-unit-tests/lib/s390x/
H A Duv.h22 * To run PV guests we need to setup a few things:
30 /* We need to have a valid primary ASCE to run guests. */ in uv_setup_asces()
/kvm-unit-tests/s390x/
H A Drun5 echo "run ./configure && make first. See ./configure -h"
9 source scripts/arch-run.bash
/kvm-unit-tests/arm/
H A Drun5 echo "run ./configure && make first. See ./configure -h"
9 source scripts/arch-run.bash
118 command="$(timeout_cmd) $kvmtool run"
/kvm-unit-tests/powerpc/
H A Drun14 echo "run ./configure && make first. See ./configure -h"
18 source scripts/arch-run.bash
H A Dtimebase.c133 mdelay(100); /* Give the timer a chance to run */ in test_dec()
149 mdelay(100); /* Give the timer a chance to run */ in test_dec()
224 mdelay(100); /* Give the timer a chance to run */ in test_hdec()
250 mdelay(100); /* Give the timer a chance to run */ in test_hdec()

123