CI: exit when fail any step. (#10579)

testDrivenImageClassification
Lei Wang 7 years ago committed by GitHub
parent 95314a2385
commit f3ffec23cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -98,7 +98,7 @@ TEST_F(TensorRTEngineTest, add_layer_multi_dim) {
float x_v[2] = {1.0, 2.0};
engine_->SetInputFromCPU("x", reinterpret_cast<void*>(&x_v),
2 * sizeof(float));
2 * sizeof(float));
engine_->Execute(1);
LOG(INFO) << "to get output";

@ -473,6 +473,7 @@ EOF
}
function main() {
set -e
local CMD=$1
init
case $CMD in

@ -59,7 +59,7 @@ EOL
if [ ! -d "${HOME}/.ccache" ]; then
mkdir ${HOME}/.ccache
fi
set -x
set -ex
${DOCKER_CMD} run -it \
--name $CONTAINER_ID \
${DOCKER_ENV} \

Loading…
Cancel
Save