Run the tests with existing image 25/20725/1
authorcristinapauna <cristina.pauna@enea.com>
Mon, 5 Sep 2016 15:47:23 +0000 (18:47 +0300)
committerwenjuan dong <dong.wenjuan@zte.com.cn>
Fri, 9 Sep 2016 00:07:11 +0000 (00:07 +0000)
commitbf0297632480f0c97d94cddd963854bdaf2aa852
tree45fc8c0614764abb3dbe189fa5ad81d1ede26e6d
parentfb3fe95e53c67fb7aa647bff4622dcd8be0619c2
Run the tests with existing image

When ran in functest on arm, the doctor suite fails because the x86
image is hardocded in the source files. This change adds the option to
run the doctor suite with an existing image as opposed to downloading
and creating it.

The image name is taken from an enviroment variables (if it is set).
When ran with functest, the env variable is set in doctor.py file.

Change-Id: Ib6ce56e650ebe8b29618a9a31ec990f9f0895f54
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
(cherry picked from commit 34e593954e048a86c90dd851de6a84c7329a937b)
tests/run.sh