Skip to content

Commit

Permalink
Add a xfail test for scalars on args_test
Browse files Browse the repository at this point in the history
  • Loading branch information
raikonenfnu committed Sep 21, 2023
1 parent d51df8d commit 570350c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/aot/args_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,22 @@ def compute(a, b):
module_str,
)

@unittest.expectedFailure
def testProcToJitScalarArgs(self):
"""Expected to fail missing jittable support for IrValueScalar"""

class BasicModule(CompiledModule):
def foobar(self, a=AbstractI32, b=AbstractI32):
return self.compute(a, b)

@jittable
def compute(a, b):
return a + b

inst = BasicModule(context=Context())
module_str = str(CompiledModule.get_mlir_module(inst))
print(module_str)


if __name__ == "__main__":
logging.basicConfig(level=logging.DEBUG)
Expand Down

0 comments on commit 570350c

Please sign in to comment.