File tree Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 1
- python-3.4.9
1
+ python-3.4.10
Original file line number Diff line number Diff line change @@ -38,25 +38,34 @@ testPython2_fail() {
38
38
}
39
39
40
40
testPython3_4 () {
41
- updateVersion " python3_4" $LATEST_34
42
41
compile " python3_4"
43
42
assertCaptured $LATEST_34
44
43
assertNotCaptured " security update"
45
- if [[ $STACK == " cedar-14" ]] || [[ $STACK == " heroku-16" ]]; then
46
- assertCapturedSuccess
44
+ # if cedar 14 and legacy binaries, fail. if cedar 14 and staging, succeed.
45
+ if [[ ! -n $USE_STAGING_BINARIES ]] && [[ $STACK == " cedar-14" ]]; then
46
+ assertCapturedError
47
+ # if heroku 18 and legacy binaries, succeed. if heroku 18 and staging, fail.
48
+ elif [[ -n $USE_STAGING_BINARIES ]] && [[ $STACK == " heroku-18" ]]; then
49
+ assertCapturedError
47
50
else
48
- assertCapturedError
51
+ # all else succeed
52
+ assertCapturedSuccess
49
53
fi
50
54
}
51
55
52
56
testPython3_4_warn () {
53
57
compile " python3_4_warn"
54
58
assertCaptured " python-3.4.9"
55
59
assertCaptured " security update!"
56
- if [[ $STACK == " cedar-14" ]] || [[ $STACK == " heroku-16" ]]; then
57
- assertCapturedSuccess
60
+ # if cedar 14 and legacy binaries, fail. if cedar 14 and staging, succeed.
61
+ if [[ ! -n $USE_STAGING_BINARIES ]] && [[ $STACK == " cedar-14" ]]; then
62
+ assertCapturedError
63
+ # if heroku 18 and legacy binaries, succeed. if heroku 18 and staging, fail.
64
+ elif [[ -n $USE_STAGING_BINARIES ]] && [[ $STACK == " heroku-18" ]]; then
65
+ assertCapturedError
58
66
else
59
- assertCapturedError
67
+ # all else succeed
68
+ assertCapturedSuccess
60
69
fi
61
70
}
62
71
You can’t perform that action at this time.
0 commit comments