Home | History | Annotate | Download | only in cindex

Lines Matching full:cmds

32     cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp')
33 assert len(cmds) != 0
38 cmds = cdb.getAllCompileCommands()
39 assert len(cmds) == 3
55 for i in range(len(cmds)):
56 assert cmds[i].directory == expected[i]['wd']
57 assert cmds[i].filename == expected[i]['file']
58 for arg, exp in zip(cmds[i].arguments, expected[i]['line']):
65 cmds = cdb.getCompileCommands(file)
66 assert len(cmds) == 1
67 assert cmds[0].directory == os.path.dirname(file)
68 assert cmds[0].filename == file
71 for arg, exp in zip(cmds[0].arguments, expected):
77 cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project2.cpp')
78 assert len(cmds) == 2
87 for i in range(len(cmds)):
88 assert cmds[i].directory == expected[i]['wd']
89 for arg, exp in zip(cmds[i].arguments, expected[i]['line']):
103 cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp')
106 workingdir = cmds[0].directory
111 cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp')
113 cmd0 = cmds[0]
114 del cmds