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
1655648e
Commit
1655648e
authored
Sep 26, 2017
by
Amit Patankar
Committed by
Neal Wu
Sep 26, 2017
Browse files
Reformatting official tests to run for models. (#2463)
parent
70c86f24
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
official/testing/docker_test.sh
official/testing/docker_test.sh
+1
-1
official/testing/test_models.sh
official/testing/test_models.sh
+1
-1
No files found.
official/testing/docker_test.sh
View file @
1655648e
...
@@ -44,7 +44,7 @@ else
...
@@ -44,7 +44,7 @@ else
fi
fi
# Specify which test is to be run
# Specify which test is to be run
COMMAND
=
"./testing/test_models.sh"
COMMAND
=
"./
official/
testing/test_models.sh"
# RUN
# RUN
${
DOCKER_BINARY
}
run
\
${
DOCKER_BINARY
}
run
\
...
...
official/testing/test_models.sh
View file @
1655648e
...
@@ -34,7 +34,7 @@ echo -e "Testing all models\n"
...
@@ -34,7 +34,7 @@ echo -e "Testing all models\n"
# Install coverage
# Install coverage
pip
install
coverage
pip
install
coverage
for
test_file
in
`
find
.
-name
*
_test.py
-print
`
;
do
for
test_file
in
`
find
official
-name
*
_test.py
-print
`
;
do
echo
"Running
$test_file
."
echo
"Running
$test_file
."
coverage run
$test_file
coverage run
$test_file
test_status
=
$?
test_status
=
$?
...
...
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