1. 02 Aug, 2017 1 commit
    • Yann E. MORIN's avatar
      support/testing: add runtime testing for init systems · 117835d5
      Yann E. MORIN authored
      The "builtin" kernel does not boot a systemd-based system, so
      we resort to building the same one as currently used by our
      We test the 8 following combinations:
        - busybox, read-only, without network
        - busybox, read-only, with network
        - busybox, read-write, without network
        - busybox, read-write, with network
        - basic systemd, read-write, network w/ ifupdown
        - basic systemd, read-write, network w/ networkd
        - full systemd, read-write, network w/ networkd
        - no init system, read-only, without network
      The tests just verify what the /sbin/init binary is, and that we were
      able to grab an IP address. More tests can be added later, for example
      to check each systemd features (journal, tmpfiles...)
      Signed-off-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
      Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: Arnout Vandecappelle <arnout@mind.be>
      [Arnout: update .gitlab-ci.yml]
      Signed-off-by: default avatarArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
  2. 07 May, 2017 1 commit
    • Thomas Petazzoni's avatar
      support/testing: core testing infrastructure · a732fb22
      Thomas Petazzoni authored
      This commit adds the core of a new testing infrastructure that allows to
      perform runtime testing of Buildroot generated systems. This
      infrastructure uses the Python unittest logic as its foundation.
      This core infrastructure commit includes the following aspects:
       - A base test class, called BRTest, defined in
         support/testing/infra/basetest.py. This base test class inherited
         from the Python provided unittest.TestCase, and must be subclassed by
         all Buildroot test cases.
         Its main purpose is to provide the Python unittest setUp() and
         tearDown() methods. In our case, setUp() takes care of building the
         Buildroot system described in the test case, and instantiate the
         Emulator object in case runtime testing is needed. The tearDown()
         method simply cleans things up (stop the emulator, remove the output
       - A Builder class, defined in support/testing/infra/builder.py, simply
         responsible for building the Buildroot system in each test case.
       - An Emulator class, defined in support/testing/infra/emulator.py,
         responsible for running the generated system under Qemu, allowing
         each test case to run arbitrary commands inside the emulated system.
       - A run-tests script, which is the entry point to start the tests.
      Even though I wrote the original version of this small infrastructure, a
      huge amount of rework and improvement has been done by Maxime
      Hadjinlian, and squashed into this patch. So many thanks to Maxime for
      cleaning up and improving my Python code!
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
  3. 20 Apr, 2017 1 commit
  4. 15 Oct, 2016 1 commit
  5. 08 Dec, 2013 1 commit
  6. 04 Nov, 2012 1 commit
  7. 18 Jul, 2010 1 commit
  8. 05 Jan, 2009 1 commit
    • Peter Korsgaard's avatar
      add .empty files for git-svn · 585aca9a
      Peter Korsgaard authored
      git-svn (and git) doesn't handle empty directories, so add .empty files
      to those dirs like elsewhere in buildroot.
      Those empty directories are normally not a big deal, but the recent changes
      to u-boot broke the build.
  9. 30 Mar, 2008 1 commit
    • Peter Korsgaard's avatar
      target_skeleton: mark empty directories with .empty files · 01c51685
      Peter Korsgaard authored
      Mark empty directories in target skeletons with .empty files
      and remove them while copying to target (like it's already done for
      svn and cvs files) to better support version control system which don't
      handle empty directories (E.G. git-svn).
  10. 10 Aug, 2007 1 commit
  11. 09 Mar, 2005 1 commit
  12. 17 Feb, 2005 1 commit
  13. 09 Oct, 2004 1 commit
  14. 08 Jan, 2003 1 commit