Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Add network and efi_loader test coverage to Travis-CI #9

Closed
wants to merge 4 commits into from

Commits on Nov 18, 2016

  1. Add travis tftp helper

    The following patches will allow us to share files between the
    build host and the qemu instance running our test case.
    
    To reduce code duplication, expose a simple helper wrapper that
    creates an env dict including checksum from a file name.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    agraf committed Nov 18, 2016
    Configuration menu
    Copy the full SHA
    68b9817 View commit details
    Browse the repository at this point in the history
  2. Add tftp tests to qemu travis checks

    With Travis we can just load files from the host directory structure
    into our guests and verify network connectivity that way. Do so for all
    boards that we currently already expose tftp on.
    
    While at it, expose the u-boot output binary as test file for the tftp
    test case.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    agraf committed Nov 18, 2016
    Configuration menu
    Copy the full SHA
    f589de0 View commit details
    Browse the repository at this point in the history
  3. Add efi_loader helloworld link to travis env

    We have a new test framework for efi_loader in test/py now. That framework
    can fetch a hello world application via tftp, but it needs to have it
    referenced in the environment.
    
    Fortunately U-Boot builds said hello world efi binary as part of its build
    process, so let's expose that to the test case.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    agraf committed Nov 18, 2016
    Configuration menu
    Copy the full SHA
    2c2bcb4 View commit details
    Browse the repository at this point in the history
  4. Add efi_loader grub2 link to travis env

    Out test framework for efi_loader in test/py gained support to test grub2
    functionality. Expose the respective grub2 file as environment variable
    to the test, so that it can access it.
    
    Signed-off-by: Alexander Graf <agraf@suse.de>
    agraf committed Nov 18, 2016
    Configuration menu
    Copy the full SHA
    c2cc170 View commit details
    Browse the repository at this point in the history