summaryrefslogtreecommitdiff
path: root/test cases/common/16 configure file/generator.py
blob: 90223f07f6e24fe3d39adec3a8671a8f837a2524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python3

import sys

if len(sys.argv) != 3:
    print("Wrong amount of parameters.")

# Just test that it exists.
with open(sys.argv[1], 'r') as ifile:
    pass

with open(sys.argv[2], 'w') as ofile:
    ofile.write("#define ZERO_RESULT 0\n")