diff options
Diffstat (limited to 'cmake/Modules/GrTest.cmake')
-rw-r--r-- | cmake/Modules/GrTest.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/Modules/GrTest.cmake b/cmake/Modules/GrTest.cmake index 1851437afc..e9e2a0c2e2 100644 --- a/cmake/Modules/GrTest.cmake +++ b/cmake/Modules/GrTest.cmake @@ -98,6 +98,9 @@ FUNCTION(GR_ADD_TEST test_name) ENDFOREACH(arg) FILE(APPEND ${sh_file} "\n") + #make the shell file executable + EXECUTE_PROCESS(COMMAND chmod +x ${sh_file}) + ADD_TEST(${test_name} ${SHELL} ${sh_file}) ENDIF(UNIX) |