Home | History | Annotate | Download | only in Driver

Lines Matching defs:M2

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