Lines Matching refs:M2
54 Multilib M1, M2; in TEST() local
56 M2.flag("+foo"); in TEST()
57 ASSERT_TRUE(M1 == M2) << "Multilibs with the same flag should be the same"; in TEST()
61 Multilib M1, M2; in TEST() local
63 M2.flag("-foo"); in TEST()
64 ASSERT_FALSE(M1 == M2) << "Multilibs with conflicting flags are not the same"; in TEST()
65 ASSERT_FALSE(M2 == M1) in TEST()
70 Multilib M1, M2; in TEST() local
71 M2.flag("+foo"); in TEST()
72 ASSERT_FALSE(M1 == M2) << "Flags make Multilibs different"; in TEST()
76 Multilib M1, M2; in TEST() local
78 M2.flag("+foo").flag("+foo"); in TEST()
79 ASSERT_TRUE(M1 == M2) << "Flag duplication shouldn't affect equivalence"; in TEST()
80 ASSERT_TRUE(M2 == M1) in TEST()
86 Multilib M2; in TEST() local
87 M2.gccSuffix("/64"); in TEST()
88 ASSERT_TRUE(M1 == M2) in TEST()
90 ASSERT_TRUE(M2 == M1) in TEST()
96 Multilib M2; in TEST() local
97 M2.osSuffix("/32"); in TEST()
98 ASSERT_TRUE(M1 == M2) in TEST()
100 ASSERT_TRUE(M2 == M1) in TEST()
106 Multilib M2; in TEST() local
107 M2.includeSuffix("/16"); in TEST()
108 ASSERT_TRUE(M1 == M2) in TEST()
110 ASSERT_TRUE(M2 == M1) in TEST()
116 Multilib M2("bar"); in TEST() local
117 ASSERT_FALSE(M1 == M2) << "Differing gccSuffixes should be different"; in TEST()
118 ASSERT_FALSE(M2 == M1) in TEST()
124 Multilib M2("", "bar"); in TEST() local
125 ASSERT_FALSE(M1 == M2) << "Differing osSuffixes should be different"; in TEST()
126 ASSERT_FALSE(M2 == M1) in TEST()
132 Multilib M2("", "", "bar"); in TEST() local
133 ASSERT_FALSE(M1 == M2) << "Differing includeSuffixes should be different"; in TEST()
134 ASSERT_FALSE(M2 == M1) in TEST()
147 Multilib M2(""); in TEST() local
150 ASSERT_TRUE(M1 == M2) in TEST()