diff --git a/test/fixtures/python3_8/requirements.txt b/test/fixtures/python3_8/requirements.txt new file mode 100644 index 0000000..f229360 --- /dev/null +++ b/test/fixtures/python3_8/requirements.txt @@ -0,0 +1 @@ +requests diff --git a/test/fixtures/python3_8/runtime.txt b/test/fixtures/python3_8/runtime.txt new file mode 100644 index 0000000..73b1cf8 --- /dev/null +++ b/test/fixtures/python3_8/runtime.txt @@ -0,0 +1 @@ +python-3.8.0 diff --git a/test/fixtures/python3_8_fail/requirements.txt b/test/fixtures/python3_8_fail/requirements.txt new file mode 100644 index 0000000..7e10602 --- /dev/null +++ b/test/fixtures/python3_8_fail/requirements.txt @@ -0,0 +1 @@ +flask diff --git a/test/fixtures/python3_8_fail/runtime.txt b/test/fixtures/python3_8_fail/runtime.txt new file mode 100644 index 0000000..fbcec36 --- /dev/null +++ b/test/fixtures/python3_8_fail/runtime.txt @@ -0,0 +1 @@ +python-3.8.99 diff --git a/test/run-versions b/test/run-versions index 6feb5e1..15c7e38 100755 --- a/test/run-versions +++ b/test/run-versions @@ -146,6 +146,25 @@ testPython3_7_fail() { assertCapturedError } +testPython3_8() { + updateVersion "python3_8" $LATEST_38 + compile "python3_8" + if [[ $STACK = "cedar-14" ]]; then + assertCapturedError + else + assertNotCaptured "security update" + assertCaptured $LATEST_38 + assertCaptured "Installing SQLite3" + assertCapturedSuccess + fi +} + +testPython3_8_fail() { + compile "python3_8_fail" + assertCaptured "Aborting" + assertCapturedError +} + pushd $(dirname 0) >/dev/null popd >/dev/null