Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
b6bb00b4
Commit
b6bb00b4
authored
Sep 06, 2021
by
Hongkun Yu
Committed by
A. Unique TensorFlower
Sep 06, 2021
Browse files
Internal change
PiperOrigin-RevId: 395116529
parent
29461a63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
official/utils/testing/scripts/presubmit.sh
official/utils/testing/scripts/presubmit.sh
+2
-8
No files found.
official/utils/testing/scripts/presubmit.sh
View file @
b6bb00b4
...
...
@@ -46,14 +46,8 @@ py_test() {
return
"
${
exit_code
}
"
}
py2_test
()
{
local
PY_BINARY
=
$(
which python2
)
py_test
"
$PY_BINARY
"
return
$?
}
py3_test
()
{
local
PY_BINARY
=
$(
which
python3
)
local
PY_BINARY
=
python3
.9
py_test
"
$PY_BINARY
"
return
$?
}
...
...
@@ -61,7 +55,7 @@ py3_test() {
test_result
=
0
if
[
"$#"
-eq
0
]
;
then
TESTS
=
"lint
py2_test
py3_test"
TESTS
=
"lint py3_test"
else
TESTS
=
"
$@
"
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