Development mode

Run test cases on x86

  • Set test project
    cd testflow/script
    make -f basic.mk set_proj TEST_PROJ=../..
    
  • Build image and packages locally

    make -f manage_dev.mk build_dev_env_x86
    
  • Generate configuration

    Update path for whitelist-dir in info.yml

    make -f manage_dev.mk gen_proj_conf
    
  • Run test cases

make -f dev.mk test_install
make -f dev.mk test_reinstall
make -f dev.mk test_reuninstall
make -f dev.mk test_installafteruninstall
make -f dev.mk test_reboot_p1
make -f dev.mk test_reboot_p2
  • Clean test environment
    make -f manage_dev.mk clean_dev_env_x86
    

Run test cases on armv6

  • Set test project
    make -f basic.mk set_proj TEST_PROJ=../..
    
  • Build image and packages locally

    make -f manage_dev.mk build_dev_env_armv6
    
  • Generate configuration

    make -f manage_dev.mk gen_proj_conf
    
  • Run test cases
    make -f dev.mk test_install
    make -f dev.mk test_reinstall
    make -f dev.mk test_reuninstall
    make -f dev.mk test_installafteruninstall
    make -f dev.mk test_reboot_p1
    make -f dev.mk test_reboot_p2
    
  • Clean test environment
    make -f manage_dev.mk clean_dev_env_armv6
    

results matching ""

    No results matching ""