Skip to content

Commit 7fb608c

Browse files
authoredJul 29, 2020
Make sure that all unittests are executed (triton-inference-server#1823)
* Verify execution of unittests * Add comments to InferUnit * Improve test.sh to work better in case of failures * improve the error messages * rename the unittests base class and fix minor issues * [WIP] Add counting successful runs to other testcases * Update all "test.sh" files to make it compatible with new test counting * fix a minor bug in test counting * fix whitespace * fix minor bug in check_test_results * fix a minor bug in check_test_results * fix minor bugs in test counting * fix a minor bug in L0_infer * fix minor bug in L0_infer_shm * rename TestResCollector -> TestResultCollector * L0_infer TestResult * Make test counting more robust
1 parent b345306 commit 7fb608c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+729
-220
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/builddir
22
/.vscode
3+
*.so

‎qa/L0_batcher/batcher_test.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
_deferred_exceptions = []
6060

6161

62-
class BatcherTest(unittest.TestCase):
62+
class BatcherTest(tu.TestResultCollector):
6363

6464
def setUp(self):
6565
# The helper client for setup will be GRPC for simplicity.
@@ -77,6 +77,7 @@ def tearDown(self):
7777
destroy_fun = cudashm.destroy_shared_memory_region
7878
for precreated_shm_region in self.precreated_shm_regions_:
7979
destroy_fun(precreated_shm_region)
80+
super().tearDown()
8081

8182
# FIXME why only used for outputs
8283
def create_advance(self, shm_regions=None):

0 commit comments

Comments
 (0)