Add end to end tests for docker tests

Change-Id: I5aae2122db1294494df9e90b120bdfee96988203
This commit is contained in:
KongQun Yang 2020-12-14 11:50:42 -08:00
parent 3b04881a04
commit d90cf9a0fd
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ function docker_run() {
for docker_file in ${SCRIPT_DIR}/*_Dockerfile ; do for docker_file in ${SCRIPT_DIR}/*_Dockerfile ; do
docker build -t my_container -f ${docker_file} ${SCRIPT_DIR} docker build -t my_container -f ${docker_file} ${SCRIPT_DIR}
docker_run rm -rf out/Release
docker_run gclient runhooks docker_run gclient runhooks
docker_run ninja -C out/Release docker_run ninja -C out/Release
docker_run out/Release/packager_test.py -v
done done