diff options
author | Yan Wang <yawanng@google.com> | 2019-07-18 10:42:11 -0700 |
---|---|---|
committer | Yan Wang <yawanng@google.com> | 2019-07-18 15:49:45 -0700 |
commit | 9104e0553d0df14e49ef4370469910a4d0602f77 (patch) | |
tree | 66a9179c63f0b6738a0cac9964abc0f5c274284c /startop/scripts/iorap/compiler.py | |
parent | 9af1627e57af0980acd00d09c3ff7d7c2f5481ad (diff) |
startop: Add test for compiler.py.
Test: pytest compiler_test.py
Bug: 137398235
Change-Id: I036ed1fee1451176ef854a9a00c460eb0685bafe
Diffstat (limited to 'startop/scripts/iorap/compiler.py')
-rwxr-xr-x | startop/scripts/iorap/compiler.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/startop/scripts/iorap/compiler.py b/startop/scripts/iorap/compiler.py index 31261376ce01..1e15736b13a1 100755 --- a/startop/scripts/iorap/compiler.py +++ b/startop/scripts/iorap/compiler.py @@ -266,4 +266,6 @@ def main(argv): return 0 -sys.exit(main(sys.argv)) +if __name__ == '__main__': + print(sys.argv) + sys.exit(main(sys.argv)) |