Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions PhysicsTools/TensorFlowAOT/test/testAOTTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import tempfile
import functools
import unittest
import platform


this_dir = os.path.dirname(os.path.abspath(__file__))
Expand Down Expand Up @@ -42,6 +43,8 @@ def test_dev_workflow(self, tmp_dir):
config_file = os.path.join(m.group(1), "share", "test_models", "simple", "aot_config.yaml")
self.assertTrue(os.path.exists(config_file))

arch = "{0}-pc-linux".format(platform.processor())

# run the dev workflow
# create the test model
cmd = [
Expand All @@ -50,6 +53,7 @@ def test_dev_workflow(self, tmp_dir):
"-o", tmp_dir,
"--tool-name", "tfaot-model-test",
"--dev",
"--additional-flags=--target_triple=" + arch
]
run_cmd(cmd)

Expand Down