aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/41 test args/tester.py
blob: b5884cc61a2fccec9a15d942d8fcc64810c2e229 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python3

import sys
import os

assert os.environ['MESONTESTING'] == 'picklerror'
assert os.environ['TEST_LIST_FLATTENING'] == '1'

with open(sys.argv[1]) as f:
    if f.read() != 'contents\n':
        sys.exit(1)