Skip to content
Snippets Groups Projects
  1. Aug 04, 2017
    • Martin Pitt's avatar
      test: Factorize common integration test functions (#6540) · 054ee249
      Martin Pitt authored
      All test/TEST* but TEST-02-CRYPTSETUP share the same check_result_qemu()
      and test_cleanup(), so move them into test_functions and only override
      them in TEST-02-CRYPTSETUP.
      
      Also provide a common test_run() which by default assumes that both QEMU
      and nspawn tests are run. Particular tests which don't support either
      need to explicitly opt out by setting $TEST_NO_{QEMU,NSPAWN}. Do it this
      way around to avoid accidentally forgetting to opt in, and to encourage
      test authors to at least always support nspawn.
      054ee249
  2. Jun 24, 2016
  3. Nov 25, 2015
  4. Dec 10, 2013
    • Ronny Chevalier's avatar
      test: rework run_qemu · c6a77179
      Ronny Chevalier authored
      It tries to find a suitable QEMU binary and will use KVM if present.
      We can now configure QEMU from outside with 4 variables :
        - $QEMU_BIN : path to QEMU's binary
        - $KERNEL_APPEND : arguments appended to kernel cmdline
        - $KERNEL_BIN : path to a kernel
          Default /boot/vmlinuz-$KERNEL_VER
        - $INITRD : path to an initramfs
          Default /boot/initramfs-${KERNEL_VER}.img
        - $QEMU_SMP : number of CPU simulated by QEMU.
          Default 1
      
      (from Alexander Graf's script: http://www.spinics.net/lists/kvm/msg72389.html)
      c6a77179
  5. Nov 07, 2013
  6. Sep 17, 2013
  7. Apr 24, 2013
  8. Feb 23, 2013
  9. Jan 30, 2013
  10. Jan 25, 2013
  11. Sep 13, 2012
  12. Jun 28, 2012
  13. May 29, 2012
  14. May 24, 2012
  15. May 22, 2012
    • Harald Hoyer's avatar
      test: introduce a basic testsuite framework · 898720b7
      Harald Hoyer authored
      $ cd test
      $ sudo make check
      
      will run all tests in the TEST-* subdirectories
      
      $ cd test/TEST-01-BASIC
      $ sudo make clean setup run
      
      will run the different stages of the test for debugging purposes
      898720b7
Loading