Home
last modified time | relevance | path

Searched refs:TestTwoFlags (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_flags_test.cpp138 static void TestTwoFlags(const char *env, bool expected_flag1, in TestTwoFlags() function
159 TestTwoFlags("flag1=1 flag2='zzz'", true, "zzz"); in TEST()
160 TestTwoFlags("flag2='qxx' flag1=0", false, "qxx"); in TEST()
161 TestTwoFlags("flag1=false:flag2='zzz'", false, "zzz"); in TEST()
162 TestTwoFlags("flag2=qxx:flag1=yes", true, "qxx"); in TEST()
163 TestTwoFlags("flag2=qxx\nflag1=yes", true, "qxx"); in TEST()
164 TestTwoFlags("flag2=qxx\r\nflag1=yes", true, "qxx"); in TEST()
165 TestTwoFlags("flag2=qxx\tflag1=yes", true, "qxx"); in TEST()
169 TestTwoFlags("flag=1 other_flag='zzz'", true, "zzz", "flag", "other_flag"); in TEST()
171 TestTwoFlags("other_flag=' flag=0 ' flag=1", true, " flag=0 ", "flag", in TEST()
[all …]