Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
Change-Id: I2e6e3a9c44c05758b0226a4a75c25afe01394263
  • Loading branch information
Giuseppe Rossini committed May 11, 2021
1 parent fcb2548 commit 9000801
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/python/unittest/test_micro_model_library_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ def @main(%a : Tensor[(1, 2), uint8], %b : Tensor[(1, 2), float32], %c : Tensor[
in metadata["memory"]["functions"]["operator_functions"][0]["function_name"]
)

assert os.path.exists(os.path.join(extract_dir, "codegen", "host", "src", "lib0.c"))
assert os.path.exists(os.path.join(extract_dir, "codegen", "host", "src", "lib1.c"))
assert os.path.exists(os.path.join(extract_dir, "codegen", "host", "src", "add_lib0.c"))
assert os.path.exists(os.path.join(extract_dir, "codegen", "host", "src", "add_lib1.c"))

if executor == "graph":
validate_graph_json(extract_dir, factory)
Expand Down Expand Up @@ -194,7 +194,7 @@ def @main(%a : Tensor[(1, 2), uint8], %b : Tensor[(1, 2), float32], %c : Tensor[
in metadata["memory"]["functions"]["operator_functions"][0]["function_name"]
)

assert os.path.exists(os.path.join(extract_dir, "codegen", "host", "lib", "lib0.o"))
assert os.path.exists(os.path.join(extract_dir, "codegen", "host", "lib", "add_lib0.o"))

validate_graph_json(extract_dir, factory)

Expand Down

0 comments on commit 9000801

Please sign in to comment.