Lines Matching refs:test_glob
12 def test_glob(files, glob, expected, setup=""): function
30 test_glob([], "[ GLOB : ]", [])
31 test_glob([], "[ GLOB . : ]", [])
32 test_glob([], "[ GLOB : * ]", [])
35 test_glob([], "[ GLOB . : * ]", ["./file.jam"])
38 test_glob([], "[ GLOB . : file*.jam ]", ["./file.jam"])
39 test_glob([], "[ GLOB . : f*am ]", ["./file.jam"])
41 test_glob([], "[ GLOB . : fi?e.?am ]", ["./file.jam"])
42 test_glob([], "[ GLOB . : fi?.jam ]", [])
44 test_glob([], '[ GLOB . : "[f][i][l][e].jam" ]', ["./file.jam"])
45 test_glob([], '[ GLOB . : "[fghau][^usdrwe][k-o][^f-s].jam" ]', ["./file.jam"])
47 test_glob([], "[ GLOB . : \\f\\i\\l\\e.jam ]", ["./file.jam"])
50 test_glob(["test.txt"], "[ GLOB . : * ]", ["./file.jam", "./test.txt"])
53 test_glob(["dir1/dir2/test.txt"], "[ GLOB dir1 : * ]", ["dir1/dir2"]);
56 test_glob([], "[ GLOB dir1 : * ] ", [])
59 test_glob(["dir1/file1.txt", "dir2/file1.txt",
66 test_glob(["dir/test.txt"], "[ GLOB dir/. : test.txt ]", ["dir/./test.txt"])
67 test_glob(["dir/test.txt"], "[ GLOB dir/.. : file.jam ]", ["dir/../file.jam"])
71 test_glob(["TEST.TXT"], "[ GLOB . : TEST.TXT ]", ["./TEST.TXT"])
76 test_glob(["TEST.TXT"], "[ GLOB . : test.txt ]", ["./TEST.TXT"])
79 test_glob(["D1/D2/TEST.TXT"], "[ GLOB D1/./D2 : test.txt ]",
81 test_glob(["D1/TEST.TXT", "TEST.TXT"], "[ GLOB D1/../D1 : test.txt ]",
85 test_glob(["D1/D2/TEST.TXT"], "[ GLOB d1/d2 : test.txt ]",