1828535524
Earlier ctest file creation was taking place during build time.
Due to cmake framework issue the file creation had issues,
which in turn failed the test build.
This change moves this logic to the execution phase
and gets rid of the unwanted dependency during build time
Change-Id: Ifbf7e325f1b15a8be12e76560a6d339bc76705ee
[ROCm/hip-tests commit: 4872e70674]