Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
0b3704f7
"platforms/reference/vscode:/vscode.git/clone" did not exist on "1bcdd3e254073f5dee9d01bef95d217cfa942ee9"
Commit
0b3704f7
authored
Jan 22, 2020
by
Matthew Brett
Browse files
Fix, extend tests
parent
35ddfbed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
tests/test_supported_wheels.sh
tests/test_supported_wheels.sh
+11
-4
No files found.
tests/test_supported_wheels.sh
View file @
0b3704f7
...
...
@@ -30,12 +30,19 @@ if [ $(uname) == 'Darwin' ]; then
other_ver
=
$(
[
"
$our_ver
"
==
"37"
]
&&
echo
"38"
||
echo
"37"
)
good_whl
=
"tornado-5.1-cp
${
our_ver
}
-cp
${
our_ver
}
m-macosx_10_9_x86_64.whl"
bad_whl
=
"tornado-5.1-cp
${
other_ver
}
-cp
${
other_ver
}
m-macosx_10_9_x86_64.whl"
if
[
"
$(
$PYTHON_EXE
supported_wheels.py
$bad_wh
ee
l
)
"
!=
""
]
;
then
echo
"
$bad_wh
ee
l
not supported, but supported wheels says it is."
if
[
"
$(
$PYTHON_EXE
supported_wheels.py
$bad_whl
)
"
!=
""
]
;
then
echo
"
$bad_whl
not supported, but supported wheels says it is."
RET
=
1
fi
if
[
"
$(
$PYTHON_EXE
supported_wheels.py
$good_wheel
)
"
!=
"
$good_wheel
"
]
;
then
echo
"
$good_wheel
supported, but supported wheels says it is not."
if
[
"
$(
$PYTHON_EXE
supported_wheels.py
$good_whl
)
"
!=
"
$good_whl
"
]
;
then
echo
"
$good_whl
supported, but supported wheels says it is not."
RET
=
1
fi
good_whl2
=
"mypkg-0.3-cp
${
our_ver
}
-cp
${
our_ver
}
m-macosx_10_9_x86_64.whl"
both
=
"
$good_whl
$good_whl2
"
if
[
"
$(
$PYTHON_EXE
supported_wheels.py
$good_whl
$good_whl2
)
"
!=
"
$both
"
]
;
then
echo
"
$good_whl
,
$good_whl2
supported, supported_wheels does not return both."
RET
=
1
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment