Debian Codegraph @

testing/tests/ignore.test

raw
1 # %TEST-EXEC: btest -t 2>&1 | sort >output
2 # %TEST-EXEC: btest-diff output
3
4 @TEST-EXEC: test -f ../../initialized
5
6 %TEST-START-FILE all/t1
7 @TEST-EXEC: exit 0
8 %TEST-END-FILE
9
10 %TEST-START-FILE all/t2
11 @TEST-EXEC: exit 0
12 %TEST-END-FILE
13
14 %TEST-START-FILE all/sub/t3
15 @TEST-EXEC: exit 0
16 %TEST-END-FILE
17
18 %TEST-START-FILE all/not-this-one/t4
19 @TEST-EXEC: exit 0
20 %TEST-END-FILE
21
22 %TEST-START-FILE all/sub/neither-this-one/t5
23 @TEST-EXEC: exit 0
24 %TEST-END-FILE
25
26 %TEST-START-FILE all/not-this-one.txt
27 @TEST-EXEC: exit 0
28 %TEST-END-FILE
29
30 %TEST-START-FILE all/skip
31 @TEST-EXEC: exit 0
32 @TEST-IGNORE
33 %TEST-END-FILE
34
35 %TEST-START-FILE all/sub2/.btest-ignore
36 %TEST-END-FILE
37
38 %TEST-START-FILE all/sub2/skip-this
39 @TEST-EXEC: exit 0
40 %TEST-END-FILE
41
42
43 %TEST-START-FILE btest.cfg
44 [btest]
45 TmpDir = .tmp
46 BaselineDir = Baseline
47 TestDirs = all
48 IgnoreDirs = not-this-one sub/neither-this-one
49 IgnoreFiles = *.txt
50 %TEST-END-FILE