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
OpenDAS
apex
Commits
9eab1ac3
Commit
9eab1ac3
authored
Oct 07, 2018
by
Michael Carilli
Browse files
Merge branch 'master' of
https://github.com/NVIDIA/apex
parents
559141e8
2361a646
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
tests/run_test.py
tests/run_test.py
+20
-0
No files found.
tests/run_test.py
0 → 100644
View file @
9eab1ac3
import
unittest
import
sys
test_dirs
=
[
"run_fp16_optimizer"
,
"run_amp"
]
runner
=
unittest
.
TextTestRunner
(
verbosity
=
2
)
errcode
=
0
for
test_dir
in
test_dirs
:
suite
=
unittest
.
TestLoader
().
discover
(
test_dir
)
print
(
"
\n
Executing tests from "
+
test_dir
)
result
=
runner
.
run
(
suite
)
if
not
result
.
wasSuccessful
():
errcode
=
1
sys
.
exit
(
errcode
)
Prev
1
2
Next
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