Fix condition to run tests only on detdesc platforms
The variable CMAKE_CURRENT_BINARY_DIR works locally but not in the nightlies.
Update the condition to run tests only on detdesc platforms using $ENV{BINARY_TAG}.
Edited by Davide Fazzini
The variable CMAKE_CURRENT_BINARY_DIR works locally but not in the nightlies.
Update the condition to run tests only on detdesc platforms using $ENV{BINARY_TAG}.