parent
cdf0c4f1a9
commit
c8213aaf1e
2 changed files with 3 additions and 10 deletions
@ -1,13 +1,11 @@ |
||||
#!/usr/bin/env python3 |
||||
|
||||
import sys |
||||
import sys, os |
||||
|
||||
if len(sys.argv) != 3: |
||||
print("Wrong amount of parameters.") |
||||
|
||||
# Just test that it exists. |
||||
with open(sys.argv[1], 'r') as ifile: |
||||
pass |
||||
assert(os.path.exists(sys.argv[1])) |
||||
|
||||
with open(sys.argv[2], 'w') as ofile: |
||||
ofile.write("#define ZERO_RESULT 0\n") |
||||
|
Loading…
Reference in new issue