summaryrefslogtreecommitdiff
path: root/test/README.testsuite
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2019-03-16 18:32:38 +0100
committerFrantisek Sumsal <frantisek@sumsal.cz>2019-03-16 18:59:07 +0100
commit5a2114b60ef92ad3a30e0534b5d767a50dffd6a0 (patch)
tree7df2d1555de5a131be24f5e6ff5d1d95f6bacde7 /test/README.testsuite
parentb43c2c01e979b8c9b5f2f70e8928a7e9d26ab11f (diff)
downloadsystemd-5a2114b60ef92ad3a30e0534b5d767a50dffd6a0.tar.gz
test: improve testsuite configuration documentation
Diffstat (limited to 'test/README.testsuite')
-rw-r--r--test/README.testsuite33
1 files changed, 30 insertions, 3 deletions
diff --git a/test/README.testsuite b/test/README.testsuite
index 2edcf6a70a..7ff148e130 100644
--- a/test/README.testsuite
+++ b/test/README.testsuite
@@ -44,11 +44,38 @@ An absolute path may also be used in both cases.
Configuration variables
=======================
-TEST_NO_QEMU=1 can be used to disable qemu tests.
+TEST_NO_QEMU=1
+ Don't run tests under QEMU
-TEST_NO_NSPAWN=1 can be used to disable nspawn tests.
+TEST_NO_NSPAWN=1
+ Don't run tests under systemd-nspawn
-KERNEL_APPEND='...' can be used to add additional kernel parameters for the QEMU runs.
+TEST_NO_KVM=1
+ Disable QEMU KVM autodetection (may be necessary when you're trying to run the
+ *vanilla* QEMU and have both qemu and qemu-kvm installed)
+
+QEMU_MEM=512M
+ Configure amount of memory for QEMU VMs (defaults to 512M)
+
+QEMU_SMP=1
+ Configure number of CPUs for QEMU VMs (defaults to 1)
+
+KERNEL_APPEND='...'
+ Append additional parameters to the kernel command line
+
+NSPAWN_ARGUMENTS='...'
+ Specify additional arguments for systemd-nspawn
+
+QEMU_TIMEOUT=infinity
+ Set a timeout for tests under QEMU (defaults to infinity)
+
+NSPAWN_TIMEOUT=infinity
+ Set a timeout for tests under systemd-nspawn (defaults to infinity)
+
+INTERACTIVE_DEBUG=1
+ Configure the machine to be more *user-friendly* for interactive debuggung
+ (e.g. by setting a usable default terminal, suppressing the shutdown after
+ the test, etc.)
The kernel and initramfs can be specified with $KERNEL_BIN and $INITRD.
(Fedora's or Debian's default kernel path and initramfs are used by default)