We currently use a CMake helper, define_c_test, for defining our csuite tests. An argument you can give is 'SMOKE', which is shorthand for "execute the test with a script named smoke.sh, located in the tests source subdirectory". Using "SMOKE" can be quite confusing as it assumes multiple things about the test and abstracts important details e.g. test arguments, script location.
Definition of Done:
- Remove 'SMOKE' and replace it with a parameter to define a custom script e.g. 'EXEC_SCRIPT'. This introduces additional flexibility to define any custom wrapper script i.e. a script not named 'smoke.sh'. Additionally this extra verbosity makes each test definition clear, defining the exact command and arguments to run when ctest is invoked.