summaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-08-03 11:58:52 -0700
committerJosh Blum <josh@joshknows.com>2011-08-03 11:58:52 -0700
commitc468f4903f8ade606bbfe0889954007f3b70198f (patch)
treea5a5c5c423d1897eace74947227841de6e27e96c /cmake/Modules
parentf19b9b8b2f0366af4e61cb7b831960b826c5cce9 (diff)
atsc: forgot to add gruel to the list of deps for unit test, also chmod +x unix unit test scripts
Diffstat (limited to 'cmake/Modules')
-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)