summaryrefslogtreecommitdiff
path: root/cmake/Modules/GrTest.cmake
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-08-17 12:30:09 -0700
committerJosh Blum <josh@joshknows.com>2011-08-17 12:30:09 -0700
commitfb2f45cdddc41d5aba177204aa419cea3a0aea49 (patch)
treee2d3195b9782e047518fe1ea9f848346b480cfd4 /cmake/Modules/GrTest.cmake
parente6ed4fa7bb0d253adbf0cf2ae4da7c301b3c971f (diff)
parent626018eb037808cdc32b5eb1907ae9d5f80d3e55 (diff)
Merge branch 'next' into digital
Diffstat (limited to 'cmake/Modules/GrTest.cmake')
-rw-r--r--cmake/Modules/GrTest.cmake3
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)