Skip to content
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