File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/tests/unit/extensions Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,6 @@ function(generate_test_script base_name num_images)
16
16
)
17
17
# Now we write the script that compiles and runs the test
18
18
set (harness "${CMAKE_BINARY_DIR} /bin_staging/test-${base_name} -extension.sh" )
19
- install (
20
- FILES "${harness} "
21
- PERMISSIONS WORLD_EXECUTE WORLD_READ WORLD_WRITE OWNER_EXECUTE OWNER_READ OWNER_WRITE GROUP_EXECUTE GROUP_READ GROUP_WRITE
22
- DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
23
- )
24
19
file (WRITE "${harness} " "#!/bin/bash\n " )
25
20
file (APPEND "${harness} " "cd ${CMAKE_CURRENT_BINARY_DIR} \n " )
26
21
set (executable "${base_name} _extension" )
@@ -35,6 +30,11 @@ function(generate_test_script base_name num_images)
35
30
file (APPEND "${harness} " "FC=mpif90 ${CMAKE_INSTALL_PREFIX} /bin/caf ${source} -o ${executable} -DUSE_EXTENSIONS\n " )
36
31
endif ()
37
32
file (APPEND "${harness} " "${CMAKE_INSTALL_PREFIX} /bin/cafrun -np ${num_images} ./${executable} \n " )
33
+ file ( INSTALL "${harness} "
34
+ PERMISSIONS WORLD_EXECUTE WORLD_READ W OWNER_EXECUTE OWNER_READ OWNER_WRITE GROUP_EXECUTE GROUP_READ
35
+ DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
36
+ )
37
+
38
38
endfunction (generate_test_script )
39
39
40
40
generate_test_script (co_sum 4 )
You can’t perform that action at this time.
0 commit comments