CDash build name customizability?

I’d like my CDash build names to include the build configuration (not sure why that’s not listed anywhere in CDash by default). Unless I’m missing something, it seems non-trivial to override this, I can’t find any CLI flags or variables you can set for this, it looks like I’d have to resort to writing a custom CDash script?

How are people handling this? Am I missing something obvious here?

In a CTest script, there is CTEST_BUILD_NAME.

So to customize the build name, do I need to use a custom ctest script? Currently I’ve just been running ctest -D Nightly

The DartConfiguration.tcl file seems to have a BUILDNAME variable that might be used from the configure step. Does that work?

Does that mean you can set a variable called BUILDNAME in the configure stage?

It comes from somewhere, yes. I don’t know if CTest unconditionally builds it from other info or not. I’d try it and see what happens.

1 Like