Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/tests/
H A Doptions.cpp36 void RunErrorTest(const char *OptionsStr, const char *ErrorNeedle) { in RunErrorTest() function
49 RunErrorTest("Enabled=1:MaxSimultaneousAllocations=0", in TEST()
51 RunErrorTest("Enabled=1:MaxSimultaneousAllocations=-1", in TEST()
53 RunErrorTest("Enabled=1:SampleRate=0", "SampleRate must be > 0"); in TEST()
54 RunErrorTest("Enabled=1:SampleRate=-1", "SampleRate must be > 0"); in TEST()
55 RunErrorTest("Enabled=", "Invalid boolean value '' for option 'Enabled'"); in TEST()
56 RunErrorTest("==", "Unknown option '=='"); in TEST()
58 RunErrorTest("Enabled:", "Expected '=' when parsing option 'Enabled:'"); in TEST()
59 RunErrorTest("Enabled:=", "Expected '=' when parsing option 'Enabled:='"); in TEST()
60 RunErrorTest("SampleRate=NOT_A_NUMBER", in TEST()
[all …]