summaryrefslogtreecommitdiffstats
path: root/config/cmake/userblockTest.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-09-21 20:05:23 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-09-21 20:05:23 (GMT)
commit9edd184ae9771c83b3569f3411babdcdd4170b3e (patch)
treeff055ff74688957e2dc75ddd60629f5d2c5d81b1 /config/cmake/userblockTest.cmake
parent0e4ee6d829d658af60ec21ea57138e6607f2ace6 (diff)
downloadhdf5-9edd184ae9771c83b3569f3411babdcdd4170b3e.zip
hdf5-9edd184ae9771c83b3569f3411babdcdd4170b3e.tar.gz
hdf5-9edd184ae9771c83b3569f3411babdcdd4170b3e.tar.bz2
[svn-r27846] Fix generated files process.
Add script for post processing of flex/bison files.
Diffstat (limited to 'config/cmake/userblockTest.cmake')
-rw-r--r--config/cmake/userblockTest.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/cmake/userblockTest.cmake b/config/cmake/userblockTest.cmake
index 2e0740b..fab470c 100644
--- a/config/cmake/userblockTest.cmake
+++ b/config/cmake/userblockTest.cmake
@@ -1,4 +1,4 @@
-# runTest.cmake executes a command and captures the output in a file. File is then compared
+# userblockTest.cmake executes a command and captures the output in a file. File is then compared
# against a reference file. Exit status of command can also be compared.
# arguments checking
@@ -56,9 +56,9 @@ if (TEST_CHECKUB STREQUAL "YES")
endif (NOT ${TEST_RESULT} STREQUAL "0")
file (READ ${TEST_HFILE}.len.txt TEST_O_STRING_LEN)
endif (TEST_OFILE)
-
+
MATH( EXPR TEST_STRING_SIZE "${TEST_U_STRING_LEN} + ${TEST_O_STRING_LEN}" )
-
+
if (NOT TEST_O_STRING_LEN STREQUAL "0")
#$JAM_BIN/getub -c $s2 $origfile > $cmpfile
EXECUTE_PROCESS (
@@ -72,7 +72,7 @@ if (TEST_CHECKUB STREQUAL "YES")
)
#cat $ufile >> $cmpfile
file (STRINGS ${TEST_UFILE} TEST_STREAM NEWLINE_CONSUME)
- file (APPEND ${TEST_HFILE}-ub.cmp "${TEST_STREAM}")
+ file (APPEND ${TEST_HFILE}-ub.cmp "${TEST_STREAM}")
else (NOT TEST_O_STRING_LEN STREQUAL "0")
file (STRINGS ${TEST_UFILE} TEST_STREAM NEWLINE_CONSUME)
file (WRITE ${TEST_HFILE}-ub.cmp ${TEST_STREAM})