Skip to content

Commit

Permalink
[onnx-runtime] Add tests (#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasjucker authored Aug 31, 2023
1 parent abe6427 commit bcd764f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ def test_nvidia_blas(self):
def test_nvidia_lapack(self):
spack_info('nvidia-lapack')

def test_onnx_runtime(self):
spack_info('onnx-runtime')

def test_oasis(self):
spack_info('oasis')

Expand Down Expand Up @@ -321,6 +324,9 @@ def test_nvidia_blas(self):
def test_nvidia_lapack(self):
spack_spec('nvidia-lapack')

def test_onnx_runtime(self):
spack_spec('onnx-runtime')

def test_oasis(self):
spack_spec('oasis')

Expand Down
6 changes: 6 additions & 0 deletions test/system_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,12 @@ def test_install_default(self):
spack_install_and_test('nvidia-lapack')


class OnnxRuntimeTest(unittest.TestCase):

def test_install_default(self):
spack_install_and_test('onnx-runtime')


@pytest.mark.no_balfrin # Coupling only needed on Daint
@pytest.mark.no_tsa # Coupling only needed on Daint
class OasisTest(unittest.TestCase):
Expand Down

0 comments on commit bcd764f

Please sign in to comment.