- changed status to open
"Pick Outdated Files" missing in the "Boost::Test Task configuration"
I would like to enable the "Pick Outdated Files" option since not all commits in our repository affect the tests. Currently those builds lead to a failed build due to "no tests found".
Comments (10)
-
-
Hi @oc_sielenkemper !
This option is under
Advanced options
section and namedPick up test results that were created outside of this build
. -
reporter Hi @Sergius,
thanks for your fast reply!
But I don't see
Advanced options
anywhere:Is that something I need to enable for bamboo?
-
It appears only if
Parse-only mode
is on (otherwise it has no much sense). Could you tell me more about what do you want to accomplish? -
reporter Ah, I see.
As you can see, we have a dedicated test project, which is build in both debug and release configuration. The binaries produced there are then run by your task to get the test results into Bamboo. Now certain changes do not trigger a rebuild of the test binaries (e.g. new translations for text resources). If this happens, your task does not report any test results to Bamboo and we get a failed build with the message
I assume you check whether the executables are new and only run them if that is the case. I would like to have them run again to avoid the "build failed" result. I was about to add a
touch
script task for the executables when I saw thePick Outdated Files
in your documentation but not in the UI... -
Oh, I understand now. Let me fix it. I'll ping you back in a few hours.
-
- changed status to resolved
Fix
#7: Do not check modification time for executables.→ <<cset ab70ab59b5e0>>
-
The bug is fixed in version 1.0.4.
-
reporter - changed status to closed
Got it. Tested. Works.
Wow, that was quick! Thank you.
-
You're welcome!
- Log in to comment