Production mode
Please install routing before going on
Download testflow packages and unzip
wget https://github.com/elespejo/bypass/releases/download/0.6.1/bypass-testflow-0.6.1.zip
unzip dnsmasq-testflow-0.6.1.zip
Run test cases on x86
Download packages
cd script make -f basic.mk downloadSet test project and arch
make -f basic.mk set_arch ARCH=x86 make -f manage_prod.mk set_img_pkgGenerate configuration
Update
br0and path of whitelist-dir to current directory in info.yml before going onmake -f manage_prod.mk gen_proj_confRun test cases
make -f prod.mk test_install
make -f prod.mk test_reinstall
make -f prod.mk test_reuninstall
make -f prod.mk test_installafteruninstall
make -f prod.mk test_reboot_p1
make -f prod.mk test_reboot_p2
make -f prod.mk test_poweroff_p1
make -f prod.mk test_poweroff_p2
- Clean test environment
make -f basic.mk rm_download make -f manage_prod.mk del_proj_conf
Run test cases on armv6
Download packages
cd script make -f basic.mk downloadSet test project and arch
make -f basic.mk set_arch ARCH=armv6 make -f manage_prod.mk set_img_pkgGenerate configuration
Update
br0and path of whitelist-dir to current directory in info.yml before going onmake -f manage_prod.mk gen_proj_confRun test cases
make -f prod.mk test_install
make -f prod.mk test_reinstall
make -f prod.mk test_reuninstall
make -f prod.mk test_installafteruninstall
make -f prod.mk test_reboot_p1
make -f prod.mk test_reboot_p2
make -f prod.mk test_poweroff_p1
make -f prod.mk test_poweroff_p2
- Clean test environment
make -f basic.mk rm_download make -f manage_prod.mk del_proj_conf