Merge pull request #426 from dicej/ci-error

ensure ci.sh exits with error when any test fails
This commit is contained in:
Joshua Warner 2015-03-16 17:19:22 -06:00
commit cacc099987

View File

@ -86,17 +86,22 @@ else
make_target=test
(! has_flag arch) && run make ${flags} jdk-test
if ! has_flag arch; then
run make ${flags} jdk-test
fi
run make ${flags} ${make_target}
run make ${flags} mode=debug ${make_target}
run make ${flags} process=interpret ${make_target}
(has_flag openjdk-src || ! has_flag openjdk) && \
run make ${flags} mode=debug bootimage=true ${make_target} && \
if has_flag openjdk-src || ! has_flag openjdk; then
run make ${flags} mode=debug bootimage=true ${make_target}
run make ${flags} bootimage=true ${make_target}
fi
(! has_flag openjdk && ! has_flag android && ! has_flag arch) && \
if ! has_flag openjdk && ! has_flag android && ! has_flag arch; then
run make ${flags} openjdk=$JAVA_HOME ${make_target}
fi
run make ${flags} tails=true continuations=true heapdump=true ${make_target}
run make ${flags} codegen-targets=all