diff options
| author | Raul Tambre <raul@tambre.ee> | 2025-04-18 14:48:30 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-18 14:48:30 +0300 |
| commit | c890b7376fc916c1818dc3c211a080601973aa0b (patch) | |
| tree | ad1676150a52730b7bc88b933cc555dcfd9706ed /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 6c4caae4495118d680fd08cadca73b8c583719c7 (diff) | |
[lldb][Telemetry] Fix unit test compile failure with LLVM_ENABLE_TELEMETRY=0 (#136115)
It needs to be `TEST_F` to access `received_entries`.
Disabling also works based on the test not the fixture name.
Build failure:
```
lldb/unittests/Core/TelemetryTest.cpp:110:17: error: use of undeclared identifier 'received_entries'
110 | ASSERT_EQ(1U, received_entries.size());
| ^
lldb/unittests/Core/TelemetryTest.cpp:112:61: error: use of undeclared identifier 'received_entries'
112 | llvm::dyn_cast<lldb_private::FakeTelemetryInfo>(received_entries[0])
| ^
```
Fixes: 159b872b37363511a359c800bcc9230bb09f2457
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
