Commit 1302b9c3 authored by Rico Tzschichholz's avatar Rico Tzschichholz

meson: Add tests

parent a3e442fd
......@@ -131,6 +131,7 @@ subdir('libvaladoc')
subdir('valadoc')
subdir('vapi')
subdir('doc')
subdir('tests')
install_data('vala.m4', install_dir: join_paths('share', 'aclocal'))
......
This diff is collapsed.
#!/usr/bin/env python3
import sys, os, re
from pathlib import Path
if len(sys.argv) != 3:
print("Wrong amount of parameters.")
inputf = Path(sys.argv[1])
outputf = Path(sys.argv[2])
with inputf.open('r') as ifile:
with outputf.open('w') as ofile:
if not ifile.readline().strip() == "Invalid Code":
ifile.seek(0)
lines = ifile.readlines()
ofile.writelines(lines)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment