bazelbuild / intellij

IntelliJ plugin for Bazel projects
https://ij.bazel.build/
Apache License 2.0
763 stars 305 forks source link

CLion unit test gutter icon shows "nothing here" #6981

Open ivan-golub opened 4 days ago

ivan-golub commented 4 days ago

Description of the bug:

Unable to run cc_tests (google tests or plain main function) from gutter icon. Same setup works with CMake

Screenshot 2024-11-08 at 2 28 48 PM

Which category does this issue belong to?

CLion

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

  1. Import bazel project -> examples/cpp/simple_project/proj.bazelproject.
  2. Wait until loading and indexing completes
  3. Navigate to lib/greeting_test.cc
  4. Try to press gutter "play" button

Which Intellij IDE are you using? Please provide the specific version.

2024.2.3

What programming languages and tools are you using? Please provide specific versions.

C++, Bazel 7.4.0

What Bazel plugin version are you using?

2024.10.22.0.1-api-version-242

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

LeFrosch commented 2 days ago

Maybe related to: https://youtrack.jetbrains.com/issue/CPP-36051