~zorba-coders/zorba/bug-1189803

« back to all changes in this revision

Viewing changes to test/iterplans/iterscript.cmake

  • Committer: Luis Rodriguez Gonzalez
  • Date: 2013-09-19 14:00:22 UTC
  • mfrom: (11612.1.19 lp_zorba)
  • Revision ID: kuraru@gmail.com-20130919140022-tw41ekb6ey16xbxi
MergedĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
 
15
 
#$TESTFILE is a filepath relative to the test/rbkt/ExpCompilerResults/IterPlan dir.
 
15
#$TESTFILE is a filepath relative to the test/iterplans dir.
16
16
 
17
17
STRING (LENGTH ${TESTFILE} testfile_length)
18
18
MATH (EXPR testfile_length "${testfile_length} - 5")
19
19
STRING (SUBSTRING ${TESTFILE} 0 ${testfile_length} testname)
20
20
    
21
 
SET (APITEST_OUT_FILEPATH ${CMAKE_ZORBA_BINARY_DIR}/test/rbkt/CompilerResults/IterPlan/${testname}.spec)
 
21
SET (APITEST_OUT_FILEPATH ${CMAKE_ZORBA_BINARY_DIR}/test/iterplans/${testname}.spec)
22
22
 
23
23
GET_FILENAME_COMPONENT (APITEST_OUT_DIRPATH ${APITEST_OUT_FILEPATH} PATH)
24
24
    
34
34
  OUTPUT_FILE ${APITEST_OUT_FILEPATH}
35
35
36
36
    
37
 
FILE (TO_NATIVE_PATH ${CMAKE_ZORBA_BINARY_DIR}/test/rbkt/itertest.xq itertest_xq_path)
 
37
FILE (TO_NATIVE_PATH ${CMAKE_ZORBA_BINARY_DIR}/test/iterplans/itertest.xq itertest_xq_path)
38
38
    
39
39
EXECUTE_PROCESS (
40
40
  COMMAND