Searched refs:new_cmd (Results 1 – 1 of 1) sorted by relevance
/build/kati/ |
D | ninja_test.cc | 25 string GetDepfile(string cmd, string* new_cmd) { in GetDepfile() argument 26 new_cmd->clear(); in GetDepfile() 29 *new_cmd = cmd; in GetDepfile() 36 string new_cmd; in TestGetDepfile() local 37 ASSERT_EQ(GetDepfile("g++ -c fat.cc -MD ", &new_cmd), ""); in TestGetDepfile() 43 ASSERT_EQ(GetDepfile("g++ -c fat.cc -o fat.o", &new_cmd), ""); in TestGetDepfile() 44 ASSERT_EQ(GetDepfile("g++ -c fat.cc -MD -o fat.o -o fuga.o", &new_cmd), "fuga.d.tmp"); in TestGetDepfile() 45 ASSERT_EQ(GetDepfile("g++ -c fat.cc -MD -o fat.o", &new_cmd), "fat.d.tmp"); in TestGetDepfile() 46 ASSERT_EQ(GetDepfile("g++ -c fat.cc -MD -o fat", &new_cmd), "fat.d.tmp"); in TestGetDepfile() 47 ASSERT_EQ(GetDepfile("g++ -c fat.cc -MD -MF foo.d -o fat.o", &new_cmd), "foo.d.tmp"); in TestGetDepfile() [all …]
|