Skip to content

Commit 1f674a4

Browse files
committed
examples/basic/subfolders: add test
1 parent 8ff4d19 commit 1f674a4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env python3
2+
3+
import sys
4+
from testrunner import run
5+
6+
7+
def testfunc(child):
8+
child.expect_exact('./main.c')
9+
child.expect_exact('./module/a.c')
10+
child.expect_exact('./module/b.c')
11+
child.expect_exact('./folder/a.c')
12+
child.expect_exact('./folder/subfolder/b.c')
13+
child.expect_exact('./folder/subfolder/c.c')
14+
15+
16+
if __name__ == "__main__":
17+
sys.exit(run(testfunc))

0 commit comments

Comments
 (0)