Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade versions used by the test-suite #478

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions test/t/base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,30 @@
set -uexo pipefail

compilers=(
dmd-2.064
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hum, this was used to test that the old pattern (dmd-2.064 as opposed to dmd-2.064.0) works, I suppose ?
Could we do it in a way that doesn't run the compiler though ?

dmd-2.069.2
dmd-2.071.2
dmd-2.077.1
dmd-master-2018-10-14
ldc-1.4.0
dmd-2.094.0
dmd-2.089.2
dmd-2.091.2
dmd-2.087.1
dmd-master-2020-05-10
ldc-1.24.0
)

versions=(
'DMD64 D Compiler v2.064'
'DMD64 D Compiler v2.069.2'
'DMD64 D Compiler v2.071.2'
'DMD64 D Compiler v2.077.1'
'DMD64 D Compiler v2.082.1-master-54b676b'
'LDC - the LLVM D compiler (1.4.0):'
'DMD64 D Compiler v2.090.0-beta.1-master-49dfbe5'
'LDC - the LLVM D compiler (1.24.0):'
)

frontendVersions=(
'2064'
'2069'
'2071'
'2077'
'2082'
'2074'
'2094'
'2089'
'2091'
'2087'
'2090'
'2094'
)

if [ "${TRAVIS_OS_NAME:-}" = "linux" ]; then
Expand Down
4 changes: 2 additions & 2 deletions test/t/double_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/../

priorDMD=$(dmd --version || echo "no dmd")

. $(./script/install.sh install dmd-2.082.1 -a)
. $(./script/install.sh install dmd-2.090.1 -a)
test "$(dmd --version | grep -oE '[^ ]+$' | head -n1 | tr -d '\r')" = "v2.082.1"

. $(./script/install.sh install dmd-2.083.1 -a)
. $(./script/install.sh install dmd-2.091.1 -a)
test "$(dmd --version | grep -oE '[^ ]+$' | head -n1 | tr -d '\r')" = "v2.083.1"

deactivate
Expand Down