1. 12 6月, 2016 1 次提交
  2. 08 6月, 2016 11 次提交
  3. 07 6月, 2016 9 次提交
  4. 02 6月, 2016 2 次提交
  5. 01 6月, 2016 11 次提交
    • F
      docker: Add EXTRA_CONFIGURE_OPTS · 35e0f959
      Fam Zheng 提交于
      Whatever passed in this variable will be appended to all
      configure commands.
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
      Message-id: 1464755128-32490-15-git-send-email-famz@redhat.com
      35e0f959
    • F
      docker: Add travis tool · d5bd7891
      Fam Zheng 提交于
      The script is not prefixed with test- so it won't run with "make docker-test",
      because it can take too long.
      
      Run it with "make docker-travis@ubuntu".
      Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Message-id: 1464755128-32490-13-git-send-email-famz@redhat.com
      d5bd7891
    • F
      docker: Add mingw test · c4f0eed1
      Fam Zheng 提交于
      Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Message-id: 1464755128-32490-12-git-send-email-famz@redhat.com
      c4f0eed1
    • F
      docker: Add clang test · c8908570
      Fam Zheng 提交于
      The (currently partially commented out) configure options are suggested
      by John Snow <jsnow@redhat.com>.
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
      Message-id: 1464755128-32490-11-git-send-email-famz@redhat.com
      c8908570
    • F
      docker: Add full test · d710ac87
      Fam Zheng 提交于
      This builds all available targets.
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
      Message-id: 1464755128-32490-10-git-send-email-famz@redhat.com
      d710ac87
    • F
      docker: Add quick test · b7899d63
      Fam Zheng 提交于
      Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Message-id: 1464755128-32490-9-git-send-email-famz@redhat.com
      b7899d63
    • F
      docker: Add common.rc · 3568f98c
      Fam Zheng 提交于
      "requires" checks the "FEATURE" environment for specified prerequisits,
      and skip the execution of test if not found.
      
      "build_qemu" is the central routine to compile QEMU for tests to call.
      Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Message-id: 1464755128-32490-8-git-send-email-famz@redhat.com
      3568f98c
    • F
      docker: Add test runner · b344aa91
      Fam Zheng 提交于
      It's better to have a launcher for all tests, to make it easier to
      initialize and manage the environment.
      
      If "DEBUG=1"  a shell prompt will show up before the test runs.
      Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Message-id: 1464755128-32490-7-git-send-email-famz@redhat.com
      b344aa91
    • F
      docker: Add images · ca853f0c
      Fam Zheng 提交于
      Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Message-id: 1464755128-32490-6-git-send-email-famz@redhat.com
      ca853f0c
    • F
      Makefile: Rules for docker testing · 324027c2
      Fam Zheng 提交于
      This adds a group of make targets to run docker tests, all are available
      in source tree without running ./configure.
      
      The usage is shown with "make docker".
      
      Besides the fixed ones, dynamic targets for building each image and
      running each test in each image are generated automatically by make,
      scanning $(SRC_PATH)/tests/docker/ files with specific patterns.
      
      Alternative to manually list particular targets (docker-TEST@IMAGE)
      set, you can control which tests/images to run by filtering variables,
      TESTS= and IMAGES=, which are expressed in Makefile pattern syntax,
      "foo% %bar ...". For example:
      
          $ make docker-test IMAGES="ubuntu fedora"
      
      Unfortunately, it's impossible to propagate "-j $JOBS" into make in
      containers, however since each combination is made a first class target
      in the top Makefile, "make -j$N docker-test" still parallels the tests
      coarsely.
      
      Still, $J is made a magic variable to let all make invocations in
      containers to use -j$J.
      
      Instead of providing a live version of the source tree to the docker
      container we snapshot it with git-archive. This ensures the tree is in a
      pristine state for whatever operations the container is going to run on
      them.
      
      Uncommitted changes known to files known by the git index will be
      included in the snapshot if there are any.
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Signed-off-by: NAlex Bennée <alex.bennee@linaro.org>
      Message-id: 1464755128-32490-5-git-send-email-famz@redhat.com
      324027c2
    • F
      tests: Add utilities for docker testing · 4485b04b
      Fam Zheng 提交于
      docker.py is added with a number of useful subcommands to manager docker
      images and instances for QEMU docker testing. Subcommands are:
      
      run: A wrapper of "docker run" (or "sudo -n docker run" if necessary),
      which takes care of killing and removing the running container at
      SIGINT.
      
      clean: Tear down all the containers including inactive ones that are
      started by docker_run.
      
      build: Compare an image from given dockerfile and rebuild it if they're
      different.
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Message-id: 1464755128-32490-2-git-send-email-famz@redhat.com
      4485b04b
  6. 26 5月, 2016 6 次提交