Debian Codegraph @

testing/tests/requires-with-start-next.test

raw
1 # %TEST-EXEC: btest t1 t2 >output 2>&1
2 # %TEST-EXEC: btest-diff output
3 #
4 # %TEST-DOC: Check that TEST-REQUIRES is applied to tests replicated with TEST-START-NEXT
5
6 # We expect two succeeding test for t1.
7 %TEST-START-FILE t1
8 @TEST-REQUIRES: exit 0
9 @TEST-EXEC: echo 0
10 @TEST-START-NEXT
11 %TEST-END-FILE
12
13 # We expect two skipped tests for t2.:w
14 %TEST-START-FILE t2
15 @TEST-REQUIRES: exit 1
16 @TEST-EXEC: echo 0
17 @TEST-START-NEXT
18 %TEST-END-FILE