aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/216 custom target input extracted objects/check_object.py
blob: bafcf2c171381ab4af115497f4760af89ebab90f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python3

import sys, os

if __name__ == '__main__':
    if len(sys.argv) != 3:
        print(sys.argv[0], 'object', 'output')
        sys.exit(1)
    elif os.path.exists(sys.argv[1]):
        with open(sys.argv[2], 'wb') as out:
            pass
    else:
        sys.exit(1)