metagraph-dev / mlir-graphblas

MLIR tools and dialect for GraphBLAS
https://mlir-graphblas.readthedocs.io/en/latest/
Apache License 2.0
15 stars 6 forks source link

Functional tests #222

Closed jim22k closed 2 years ago

jim22k commented 2 years ago

This only converts 2 lowering tests to functional tests, but shows the pattern.

Before converting more, we should upgrade graphblas.print to display a sparse tensor in a consistent format. Or possibly add a new operation graphblas.print_tensor with options to control how much is displayed:

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 1392205097


Totals Coverage Status
Change from base Build 1387293998: -2.9%
Covered Lines: 3219
Relevant Lines: 3923

💛 - Coveralls
seibert commented 2 years ago

This looks like a fine approach for now, but I think we may want to make graphblas-exec an actual Python executable that we can run outside of llvm-lit at the command line. That will make it easier to debug test issues in the long run.