diff --git a/test/run-versions b/test/run-versions index bf4b8b8..3459aa5 100755 --- a/test/run-versions +++ b/test/run-versions @@ -38,12 +38,14 @@ testPython2_fail() { } testPython3_4() { - if [[ $STACK != "cedar-14" ]]; then - updateVersion "python3_4" $LATEST_34 - compile "python3_4" - assertCaptured $LATEST_34 - assertNotCaptured "security update" + updateVersion "python3_4" $LATEST_34 + compile "python3_4" + assertCaptured $LATEST_34 + assertNotCaptured "security update" + if [[ $STACK == "cedar-14" ]] || [[ $STACK == "heroku-16" ]]; then assertCapturedSuccess + else + assertCapturedError fi } @@ -51,7 +53,11 @@ testPython3_4_warn() { compile "python3_4_warn" assertCaptured "python-3.4.9" assertCaptured "security update!" - assertCapturedSuccess + if [[ $STACK == "cedar-14" ]] || [[ $STACK == "heroku-16" ]]; then + assertCapturedSuccess + else + assertCapturedError + fi } testPython3_4_fail() {