| 1 | # Process this file with autom4te to create testsuite. -*- Autotest -*- |
|---|
| 2 | |
|---|
| 3 | # Test suite for NeXus. |
|---|
| 4 | # Copyright (C) Jens Krueger, jens.krueger@frm2.tum.de. |
|---|
| 5 | |
|---|
| 6 | # This program is free software; you can redistribute it and/or modify |
|---|
| 7 | # it under the terms of the GNU General Public License as published by |
|---|
| 8 | # the Free Software Foundation; either version 2, or (at your option) |
|---|
| 9 | # any later version. |
|---|
| 10 | |
|---|
| 11 | # This program is distributed in the hope that it will be useful, |
|---|
| 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 14 | # GNU General Public License for more details. |
|---|
| 15 | |
|---|
| 16 | # You should have received a copy of the GNU General Public License |
|---|
| 17 | # along with this program; if not, write to the Free Software |
|---|
| 18 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
|---|
| 19 | # 02111-1307, USA. |
|---|
| 20 | |
|---|
| 21 | # We need a recent Autotest. |
|---|
| 22 | m4_version_prereq([2.56]) |
|---|
| 23 | |
|---|
| 24 | AT_INIT |
|---|
| 25 | dnl AT_TESTED(NXtest.f90) |
|---|
| 26 | |
|---|
| 27 | AT_BANNER([[Testing the NeXus C library.]]) |
|---|
| 28 | |
|---|
| 29 | AT_SETUP([Check the C binding using HDF4]) |
|---|
| 30 | AT_CHECK([ $HAVE_HDF4 && $SETUP_TEST && napi_test-hdf4 | sed -e 's/\r$//' ], [], |
|---|
| 31 | [[NXinquirefile found: NXtest.hdf |
|---|
| 32 | Number of global attributes: 4 |
|---|
| 33 | NeXus_version = 4.3.0 |
|---|
| 34 | file_name = NXtest.hdf |
|---|
| 35 | Number of group attributes: 2 |
|---|
| 36 | NXentry path /entry |
|---|
| 37 | hugo = namenlos |
|---|
| 38 | cucumber = passion |
|---|
| 39 | Group: entry(NXentry) contains 9 items |
|---|
| 40 | Data path /entry/ch_data |
|---|
| 41 | ch_data(4) = NeXus ><}&{'\&" Data |
|---|
| 42 | Data path /entry/c1_data |
|---|
| 43 | c1_data(4) = abcdefghijklmnopqrst |
|---|
| 44 | Data path /entry/i1_data |
|---|
| 45 | i1_data(20) = 1 2 3 4 |
|---|
| 46 | Data path /entry/i2_data |
|---|
| 47 | i2_data(22) = 1000 2000 3000 4000 |
|---|
| 48 | Data path /entry/i4_data |
|---|
| 49 | i4_data(24) = 1000000 2000000 3000000 4000000 |
|---|
| 50 | Data path /entry/r4_data |
|---|
| 51 | r4_data(5) |
|---|
| 52 | 1.000000 2.000000 3.000000 4.000000 |
|---|
| 53 | 5.000000 6.000000 7.000000 8.000000 |
|---|
| 54 | 9.000000 10.000000 11.000000 12.000000 |
|---|
| 55 | 13.000000 14.000000 15.000000 16.000000 |
|---|
| 56 | 17.000000 18.000000 19.000000 20.000000 |
|---|
| 57 | Data path /entry/r8_data |
|---|
| 58 | r8_data(6) |
|---|
| 59 | 1.000000 2.000000 3.000000 4.000000 |
|---|
| 60 | 5.000000 6.000000 7.000000 8.000000 |
|---|
| 61 | 9.000000 10.000000 11.000000 12.000000 |
|---|
| 62 | 13.000000 14.000000 15.000000 16.000000 |
|---|
| 63 | 17.000000 18.000000 19.000000 20.000000 |
|---|
| 64 | Number of attributes : 4 |
|---|
| 65 | ch_attribute : NeXus ><}&{'\&" Data |
|---|
| 66 | i4_attribute : 42 |
|---|
| 67 | r4_attribute : 3.141593 |
|---|
| 68 | target : /entry/r8_data |
|---|
| 69 | Subgroup: data(NXdata) |
|---|
| 70 | Subgroup: sample(NXsample) |
|---|
| 71 | Group path /link/sample |
|---|
| 72 | Link check OK |
|---|
| 73 | NXopenpath checks OK |
|---|
| 74 | First file time: 2005-05-27 05:44:13 |
|---|
| 75 | NXinquirefile found: data/dmc01.hdf |
|---|
| 76 | Second file sample: Ga0.94Mn0.04Sb_8mm |
|---|
| 77 | NXinquirefile found: data/dmc02.hdf |
|---|
| 78 | Second file time: 2005-05-27 05:48:56 |
|---|
| 79 | entry1 external URL = nxfile://data/dmc01.hdf#/entry1 |
|---|
| 80 | testing link to external data set |
|---|
| 81 | value retrieved: 4.00 |
|---|
| 82 | External File Linking tested OK |
|---|
| 83 | ]]) |
|---|
| 84 | AT_CLEANUP |
|---|
| 85 | |
|---|
| 86 | AT_SETUP([Check the C binding using HDF5]) |
|---|
| 87 | AT_CHECK([ $HAVE_HDF5 && $SETUP_TEST && napi_test-hdf5 | sed -e 's/\r$//' ], [], |
|---|
| 88 | [[NXinquirefile found: NXtest.h5 |
|---|
| 89 | Number of global attributes: 4 |
|---|
| 90 | NeXus_version = 4.3.0 |
|---|
| 91 | file_name = NXtest.h5 |
|---|
| 92 | Number of group attributes: 2 |
|---|
| 93 | NXentry path /entry |
|---|
| 94 | hugo = namenlos |
|---|
| 95 | cucumber = passion |
|---|
| 96 | Group: entry(NXentry) contains 10 items |
|---|
| 97 | Data path /entry/c1_data |
|---|
| 98 | c1_data(4) = abcdefghijklmnopqrst |
|---|
| 99 | Data path /entry/ch_data |
|---|
| 100 | ch_data(4) = NeXus ><}&{'\&" Data |
|---|
| 101 | Subgroup: data(NXdata) |
|---|
| 102 | Data path /entry/grosse_zahl |
|---|
| 103 | grosse_zahl(26) = 12 555555555555 23 777777777777 |
|---|
| 104 | Data path /entry/i1_data |
|---|
| 105 | i1_data(20) = 1 2 3 4 |
|---|
| 106 | Data path /entry/i2_data |
|---|
| 107 | i2_data(22) = 1000 2000 3000 4000 |
|---|
| 108 | Data path /entry/i4_data |
|---|
| 109 | i4_data(24) = 1000000 2000000 3000000 4000000 |
|---|
| 110 | Data path /entry/r4_data |
|---|
| 111 | r4_data(5) |
|---|
| 112 | 1.000000 2.000000 3.000000 4.000000 |
|---|
| 113 | 5.000000 6.000000 7.000000 8.000000 |
|---|
| 114 | 9.000000 10.000000 11.000000 12.000000 |
|---|
| 115 | 13.000000 14.000000 15.000000 16.000000 |
|---|
| 116 | 17.000000 18.000000 19.000000 20.000000 |
|---|
| 117 | Data path /entry/r8_data |
|---|
| 118 | r8_data(6) |
|---|
| 119 | 1.000000 2.000000 3.000000 4.000000 |
|---|
| 120 | 5.000000 6.000000 7.000000 8.000000 |
|---|
| 121 | 9.000000 10.000000 11.000000 12.000000 |
|---|
| 122 | 13.000000 14.000000 15.000000 16.000000 |
|---|
| 123 | 17.000000 18.000000 19.000000 20.000000 |
|---|
| 124 | Number of attributes : 4 |
|---|
| 125 | ch_attribute : NeXus ><}&{'\&" Data |
|---|
| 126 | i4_attribute : 42 |
|---|
| 127 | r4_attribute : 3.141593 |
|---|
| 128 | target : /entry/r8_data |
|---|
| 129 | Subgroup: sample(NXsample) |
|---|
| 130 | Group path /link/sample |
|---|
| 131 | Link check OK |
|---|
| 132 | NXopenpath checks OK |
|---|
| 133 | First file time: 2005-05-27 05:44:13 |
|---|
| 134 | NXinquirefile found: data/dmc01.h5 |
|---|
| 135 | Second file sample: Ga0.94Mn0.04Sb_8mm |
|---|
| 136 | NXinquirefile found: data/dmc02.h5 |
|---|
| 137 | Second file time: 2005-05-27 05:48:56 |
|---|
| 138 | entry1 external URL = nxfile://data/dmc01.h5#/entry1 |
|---|
| 139 | testing link to external data set |
|---|
| 140 | value retrieved: 4.00 |
|---|
| 141 | External File Linking tested OK |
|---|
| 142 | ]]) |
|---|
| 143 | AT_CLEANUP |
|---|
| 144 | |
|---|
| 145 | AT_SETUP([Check the C binding using HDF4 (static library)]) |
|---|
| 146 | AT_CHECK([ $HAVE_HDF4 && $SETUP_TEST && napi_test-hdf4-static | sed -e 's/\r$//' ], [], |
|---|
| 147 | [[NXinquirefile found: NXtest.hdf |
|---|
| 148 | Number of global attributes: 4 |
|---|
| 149 | NeXus_version = 4.3.0 |
|---|
| 150 | file_name = NXtest.hdf |
|---|
| 151 | Number of group attributes: 2 |
|---|
| 152 | NXentry path /entry |
|---|
| 153 | hugo = namenlos |
|---|
| 154 | cucumber = passion |
|---|
| 155 | Group: entry(NXentry) contains 9 items |
|---|
| 156 | Data path /entry/ch_data |
|---|
| 157 | ch_data(4) = NeXus ><}&{'\&" Data |
|---|
| 158 | Data path /entry/c1_data |
|---|
| 159 | c1_data(4) = abcdefghijklmnopqrst |
|---|
| 160 | Data path /entry/i1_data |
|---|
| 161 | i1_data(20) = 1 2 3 4 |
|---|
| 162 | Data path /entry/i2_data |
|---|
| 163 | i2_data(22) = 1000 2000 3000 4000 |
|---|
| 164 | Data path /entry/i4_data |
|---|
| 165 | i4_data(24) = 1000000 2000000 3000000 4000000 |
|---|
| 166 | Data path /entry/r4_data |
|---|
| 167 | r4_data(5) |
|---|
| 168 | 1.000000 2.000000 3.000000 4.000000 |
|---|
| 169 | 5.000000 6.000000 7.000000 8.000000 |
|---|
| 170 | 9.000000 10.000000 11.000000 12.000000 |
|---|
| 171 | 13.000000 14.000000 15.000000 16.000000 |
|---|
| 172 | 17.000000 18.000000 19.000000 20.000000 |
|---|
| 173 | Data path /entry/r8_data |
|---|
| 174 | r8_data(6) |
|---|
| 175 | 1.000000 2.000000 3.000000 4.000000 |
|---|
| 176 | 5.000000 6.000000 7.000000 8.000000 |
|---|
| 177 | 9.000000 10.000000 11.000000 12.000000 |
|---|
| 178 | 13.000000 14.000000 15.000000 16.000000 |
|---|
| 179 | 17.000000 18.000000 19.000000 20.000000 |
|---|
| 180 | Number of attributes : 4 |
|---|
| 181 | ch_attribute : NeXus ><}&{'\&" Data |
|---|
| 182 | i4_attribute : 42 |
|---|
| 183 | r4_attribute : 3.141593 |
|---|
| 184 | target : /entry/r8_data |
|---|
| 185 | Subgroup: data(NXdata) |
|---|
| 186 | Subgroup: sample(NXsample) |
|---|
| 187 | Group path /link/sample |
|---|
| 188 | Link check OK |
|---|
| 189 | NXopenpath checks OK |
|---|
| 190 | First file time: 2005-05-27 05:44:13 |
|---|
| 191 | NXinquirefile found: data/dmc01.hdf |
|---|
| 192 | Second file sample: Ga0.94Mn0.04Sb_8mm |
|---|
| 193 | NXinquirefile found: data/dmc02.hdf |
|---|
| 194 | Second file time: 2005-05-27 05:48:56 |
|---|
| 195 | entry1 external URL = nxfile://data/dmc01.hdf#/entry1 |
|---|
| 196 | testing link to external data set |
|---|
| 197 | value retrieved: 4.00 |
|---|
| 198 | External File Linking tested OK |
|---|
| 199 | ]]) |
|---|
| 200 | AT_CLEANUP |
|---|
| 201 | |
|---|
| 202 | AT_SETUP([Check the C binding using HDF5 (static library)]) |
|---|
| 203 | AT_CHECK([ $HAVE_HDF5 && $SETUP_TEST && napi_test-hdf5-static | sed -e 's/\r$//' ], [], |
|---|
| 204 | [[NXinquirefile found: NXtest.h5 |
|---|
| 205 | Number of global attributes: 4 |
|---|
| 206 | NeXus_version = 4.3.0 |
|---|
| 207 | file_name = NXtest.h5 |
|---|
| 208 | Number of group attributes: 2 |
|---|
| 209 | NXentry path /entry |
|---|
| 210 | hugo = namenlos |
|---|
| 211 | cucumber = passion |
|---|
| 212 | Group: entry(NXentry) contains 10 items |
|---|
| 213 | Data path /entry/c1_data |
|---|
| 214 | c1_data(4) = abcdefghijklmnopqrst |
|---|
| 215 | Data path /entry/ch_data |
|---|
| 216 | ch_data(4) = NeXus ><}&{'\&" Data |
|---|
| 217 | Subgroup: data(NXdata) |
|---|
| 218 | Data path /entry/grosse_zahl |
|---|
| 219 | grosse_zahl(26) = 12 555555555555 23 777777777777 |
|---|
| 220 | Data path /entry/i1_data |
|---|
| 221 | i1_data(20) = 1 2 3 4 |
|---|
| 222 | Data path /entry/i2_data |
|---|
| 223 | i2_data(22) = 1000 2000 3000 4000 |
|---|
| 224 | Data path /entry/i4_data |
|---|
| 225 | i4_data(24) = 1000000 2000000 3000000 4000000 |
|---|
| 226 | Data path /entry/r4_data |
|---|
| 227 | r4_data(5) |
|---|
| 228 | 1.000000 2.000000 3.000000 4.000000 |
|---|
| 229 | 5.000000 6.000000 7.000000 8.000000 |
|---|
| 230 | 9.000000 10.000000 11.000000 12.000000 |
|---|
| 231 | 13.000000 14.000000 15.000000 16.000000 |
|---|
| 232 | 17.000000 18.000000 19.000000 20.000000 |
|---|
| 233 | Data path /entry/r8_data |
|---|
| 234 | r8_data(6) |
|---|
| 235 | 1.000000 2.000000 3.000000 4.000000 |
|---|
| 236 | 5.000000 6.000000 7.000000 8.000000 |
|---|
| 237 | 9.000000 10.000000 11.000000 12.000000 |
|---|
| 238 | 13.000000 14.000000 15.000000 16.000000 |
|---|
| 239 | 17.000000 18.000000 19.000000 20.000000 |
|---|
| 240 | Number of attributes : 4 |
|---|
| 241 | ch_attribute : NeXus ><}&{'\&" Data |
|---|
| 242 | i4_attribute : 42 |
|---|
| 243 | r4_attribute : 3.141593 |
|---|
| 244 | target : /entry/r8_data |
|---|
| 245 | Subgroup: sample(NXsample) |
|---|
| 246 | Group path /link/sample |
|---|
| 247 | Link check OK |
|---|
| 248 | NXopenpath checks OK |
|---|
| 249 | First file time: 2005-05-27 05:44:13 |
|---|
| 250 | NXinquirefile found: data/dmc01.h5 |
|---|
| 251 | Second file sample: Ga0.94Mn0.04Sb_8mm |
|---|
| 252 | NXinquirefile found: data/dmc02.h5 |
|---|
| 253 | Second file time: 2005-05-27 05:48:56 |
|---|
| 254 | entry1 external URL = nxfile://data/dmc01.h5#/entry1 |
|---|
| 255 | testing link to external data set |
|---|
| 256 | value retrieved: 4.00 |
|---|
| 257 | External File Linking tested OK |
|---|
| 258 | ]]) |
|---|
| 259 | AT_CLEANUP |
|---|
| 260 | |
|---|
| 261 | AT_SETUP([Check the C binding using XML]) |
|---|
| 262 | AT_CHECK([ $HAVE_XML && $SETUP_TEST && napi_test-xml | sed -e 's/\r$//' ], [], |
|---|
| 263 | [[NXinquirefile found: NXtest.xml |
|---|
| 264 | Number of global attributes: 7 |
|---|
| 265 | NeXus_version = 4.3.0 |
|---|
| 266 | file_name = NXtest.xml |
|---|
| 267 | xmlns = http://definition.nexusformat.org/schema/3.1 |
|---|
| 268 | xmlns:xsi = http://www.w3.org/2001/XMLSchema-instance |
|---|
| 269 | xsi:schemaLocation = http://definition.nexusformat.org/schema/3.1 http://definition.nexusformat.org/schema/3.1/BASE.xsd |
|---|
| 270 | Number of group attributes: 2 |
|---|
| 271 | NXentry path /entry |
|---|
| 272 | hugo = namenlos |
|---|
| 273 | cucumber = passion |
|---|
| 274 | Group: entry(NXentry) contains 10 items |
|---|
| 275 | Data path /entry/ch_data |
|---|
| 276 | ch_data(4) = NeXus ><}&{'\&" Data |
|---|
| 277 | Data path /entry/c1_data |
|---|
| 278 | c1_data(4) = abcdefghijklmnopqrst |
|---|
| 279 | Data path /entry/i1_data |
|---|
| 280 | i1_data(20) = 1 2 3 4 |
|---|
| 281 | Data path /entry/i2_data |
|---|
| 282 | i2_data(22) = 1000 2000 3000 4000 |
|---|
| 283 | Data path /entry/i4_data |
|---|
| 284 | i4_data(24) = 1000000 2000000 3000000 4000000 |
|---|
| 285 | Data path /entry/r4_data |
|---|
| 286 | r4_data(5) |
|---|
| 287 | 1.000000 2.000000 3.000000 4.000000 |
|---|
| 288 | 5.000000 6.000000 7.000000 8.000000 |
|---|
| 289 | 9.000000 10.000000 11.000000 12.000000 |
|---|
| 290 | 13.000000 14.000000 15.000000 16.000000 |
|---|
| 291 | 17.000000 18.000000 19.000000 20.000000 |
|---|
| 292 | Data path /entry/r8_data |
|---|
| 293 | r8_data(6) |
|---|
| 294 | 1.000000 2.000000 3.000000 4.000000 |
|---|
| 295 | 5.000000 6.000000 7.000000 8.000000 |
|---|
| 296 | 9.000000 10.000000 11.000000 12.000000 |
|---|
| 297 | 13.000000 14.000000 15.000000 16.000000 |
|---|
| 298 | 17.000000 18.000000 19.000000 20.000000 |
|---|
| 299 | Number of attributes : 4 |
|---|
| 300 | ch_attribute : NeXus ><}&{'\&" Data |
|---|
| 301 | i4_attribute : 42 |
|---|
| 302 | r4_attribute : 3.141593 |
|---|
| 303 | target : /entry/r8_data |
|---|
| 304 | Data path /entry/grosse_zahl |
|---|
| 305 | grosse_zahl(26) = 12 555555555555 23 777777777777 |
|---|
| 306 | Subgroup: data(NXdata) |
|---|
| 307 | Subgroup: sample(NXsample) |
|---|
| 308 | Group path /link/sample |
|---|
| 309 | Link check OK |
|---|
| 310 | NXopenpath checks OK |
|---|
| 311 | First file time: 2005-05-27 05:44:13 |
|---|
| 312 | NXinquirefile found: data/dmc01.xml |
|---|
| 313 | Second file sample: Ga0.94Mn0.04Sb_8mm |
|---|
| 314 | NXinquirefile found: data/dmc02.xml |
|---|
| 315 | Second file time: 2005-05-27 05:48:56 |
|---|
| 316 | entry1 external URL = nxfile://data/dmc01.xml#/entry1 |
|---|
| 317 | testing link to external data set |
|---|
| 318 | value retrieved: 4.00 |
|---|
| 319 | External File Linking tested OK |
|---|
| 320 | ]]) |
|---|
| 321 | AT_CLEANUP |
|---|
| 322 | |
|---|
| 323 | AT_SETUP([Check the C binding using XML (static library)]) |
|---|
| 324 | AT_CHECK([ $HAVE_XML && $SETUP_TEST && napi_test-xml-static | sed -e 's/\r$//' ], [], |
|---|
| 325 | [[NXinquirefile found: NXtest.xml |
|---|
| 326 | Number of global attributes: 7 |
|---|
| 327 | NeXus_version = 4.3.0 |
|---|
| 328 | file_name = NXtest.xml |
|---|
| 329 | xmlns = http://definition.nexusformat.org/schema/3.1 |
|---|
| 330 | xmlns:xsi = http://www.w3.org/2001/XMLSchema-instance |
|---|
| 331 | xsi:schemaLocation = http://definition.nexusformat.org/schema/3.1 http://definition.nexusformat.org/schema/3.1/BASE.xsd |
|---|
| 332 | Number of group attributes: 2 |
|---|
| 333 | NXentry path /entry |
|---|
| 334 | hugo = namenlos |
|---|
| 335 | cucumber = passion |
|---|
| 336 | Group: entry(NXentry) contains 10 items |
|---|
| 337 | Data path /entry/ch_data |
|---|
| 338 | ch_data(4) = NeXus ><}&{'\&" Data |
|---|
| 339 | Data path /entry/c1_data |
|---|
| 340 | c1_data(4) = abcdefghijklmnopqrst |
|---|
| 341 | Data path /entry/i1_data |
|---|
| 342 | i1_data(20) = 1 2 3 4 |
|---|
| 343 | Data path /entry/i2_data |
|---|
| 344 | i2_data(22) = 1000 2000 3000 4000 |
|---|
| 345 | Data path /entry/i4_data |
|---|
| 346 | i4_data(24) = 1000000 2000000 3000000 4000000 |
|---|
| 347 | Data path /entry/r4_data |
|---|
| 348 | r4_data(5) |
|---|
| 349 | 1.000000 2.000000 3.000000 4.000000 |
|---|
| 350 | 5.000000 6.000000 7.000000 8.000000 |
|---|
| 351 | 9.000000 10.000000 11.000000 12.000000 |
|---|
| 352 | 13.000000 14.000000 15.000000 16.000000 |
|---|
| 353 | 17.000000 18.000000 19.000000 20.000000 |
|---|
| 354 | Data path /entry/r8_data |
|---|
| 355 | r8_data(6) |
|---|
| 356 | 1.000000 2.000000 3.000000 4.000000 |
|---|
| 357 | 5.000000 6.000000 7.000000 8.000000 |
|---|
| 358 | 9.000000 10.000000 11.000000 12.000000 |
|---|
| 359 | 13.000000 14.000000 15.000000 16.000000 |
|---|
| 360 | 17.000000 18.000000 19.000000 20.000000 |
|---|
| 361 | Number of attributes : 4 |
|---|
| 362 | ch_attribute : NeXus ><}&{'\&" Data |
|---|
| 363 | i4_attribute : 42 |
|---|
| 364 | r4_attribute : 3.141593 |
|---|
| 365 | target : /entry/r8_data |
|---|
| 366 | Data path /entry/grosse_zahl |
|---|
| 367 | grosse_zahl(26) = 12 555555555555 23 777777777777 |
|---|
| 368 | Subgroup: data(NXdata) |
|---|
| 369 | Subgroup: sample(NXsample) |
|---|
| 370 | Group path /link/sample |
|---|
| 371 | Link check OK |
|---|
| 372 | NXopenpath checks OK |
|---|
| 373 | First file time: 2005-05-27 05:44:13 |
|---|
| 374 | NXinquirefile found: data/dmc01.xml |
|---|
| 375 | Second file sample: Ga0.94Mn0.04Sb_8mm |
|---|
| 376 | NXinquirefile found: data/dmc02.xml |
|---|
| 377 | Second file time: 2005-05-27 05:48:56 |
|---|
| 378 | entry1 external URL = nxfile://data/dmc01.xml#/entry1 |
|---|
| 379 | testing link to external data set |
|---|
| 380 | value retrieved: 4.00 |
|---|
| 381 | External File Linking tested OK |
|---|
| 382 | ]]) |
|---|
| 383 | AT_CLEANUP |
|---|
| 384 | |
|---|
| 385 | AT_SETUP([Check the C binding using XML table (static library)]) |
|---|
| 386 | AT_CHECK([ $HAVE_XML && $SETUP_TEST && napi_test-xml-table-static | sed -e 's/\r$//' ], [], |
|---|
| 387 | [[NXinquirefile found: NXtest-table.xml |
|---|
| 388 | Number of global attributes: 7 |
|---|
| 389 | NeXus_version = 4.3.0 |
|---|
| 390 | file_name = NXtest-table.xml |
|---|
| 391 | xmlns = http://definition.nexusformat.org/schema/3.1 |
|---|
| 392 | xmlns:xsi = http://www.w3.org/2001/XMLSchema-instance |
|---|
| 393 | xsi:schemaLocation = http://definition.nexusformat.org/schema/3.1 http://definition.nexusformat.org/schema/3.1/BASE.xsd |
|---|
| 394 | Number of group attributes: 2 |
|---|
| 395 | NXentry path /entry |
|---|
| 396 | hugo = namenlos |
|---|
| 397 | cucumber = passion |
|---|
| 398 | Group: entry(NXentry) contains 10 items |
|---|
| 399 | Data path /entry/ch_data |
|---|
| 400 | ch_data(4) = NeXus ><}&{'\&" Data |
|---|
| 401 | Data path /entry/c1_data |
|---|
| 402 | c1_data(4) = abcdefghijklmnopqrst |
|---|
| 403 | Data path /entry/i1_data |
|---|
| 404 | i1_data(20) = 1 2 3 4 |
|---|
| 405 | Data path /entry/i2_data |
|---|
| 406 | i2_data(22) = 1000 2000 3000 4000 |
|---|
| 407 | Data path /entry/i4_data |
|---|
| 408 | i4_data(24) = 1000000 2000000 3000000 4000000 |
|---|
| 409 | Data path /entry/grosse_zahl |
|---|
| 410 | grosse_zahl(26) = 12 555555555555 23 777777777777 |
|---|
| 411 | Data path /entry/r4_data |
|---|
| 412 | r4_data(5) |
|---|
| 413 | 1.000000 2.000000 3.000000 4.000000 |
|---|
| 414 | 5.000000 6.000000 7.000000 8.000000 |
|---|
| 415 | 9.000000 10.000000 11.000000 12.000000 |
|---|
| 416 | 13.000000 14.000000 15.000000 16.000000 |
|---|
| 417 | 17.000000 18.000000 19.000000 20.000000 |
|---|
| 418 | Data path /entry/r8_data |
|---|
| 419 | r8_data(6) |
|---|
| 420 | 1.000000 2.000000 3.000000 4.000000 |
|---|
| 421 | 5.000000 6.000000 7.000000 8.000000 |
|---|
| 422 | 9.000000 10.000000 11.000000 12.000000 |
|---|
| 423 | 13.000000 14.000000 15.000000 16.000000 |
|---|
| 424 | 17.000000 18.000000 19.000000 20.000000 |
|---|
| 425 | Number of attributes : 4 |
|---|
| 426 | ch_attribute : NeXus ><}&{'\&" Data |
|---|
| 427 | i4_attribute : 42 |
|---|
| 428 | r4_attribute : 3.141593 |
|---|
| 429 | target : /entry/r8_data |
|---|
| 430 | Subgroup: data(NXdata) |
|---|
| 431 | Subgroup: sample(NXsample) |
|---|
| 432 | Group path /link/sample |
|---|
| 433 | Link check OK |
|---|
| 434 | NXopenpath checks OK |
|---|
| 435 | First file time: 2005-05-27 05:44:13 |
|---|
| 436 | NXinquirefile found: data/dmc01.xml |
|---|
| 437 | Second file sample: Ga0.94Mn0.04Sb_8mm |
|---|
| 438 | NXinquirefile found: data/dmc02.xml |
|---|
| 439 | Second file time: 2005-05-27 05:48:56 |
|---|
| 440 | entry1 external URL = nxfile://data/dmc01.xml#/entry1 |
|---|
| 441 | testing link to external data set |
|---|
| 442 | value retrieved: 4.00 |
|---|
| 443 | External File Linking tested OK |
|---|
| 444 | ]]) |
|---|
| 445 | AT_CLEANUP |
|---|
| 446 | |
|---|
| 447 | AT_BANNER([Check the FORTRAN binding.]) |
|---|
| 448 | |
|---|
| 449 | AT_SETUP([Check the F77 binding using HDF4.]) |
|---|
| 450 | AT_CHECK([ $HAVE_F77 && $HAVE_HDF4 && $SETUP_TEST && napif_test-hdf4 | sed -e 's/\r$//' ], [], |
|---|
| 451 | [[ Number of global attributes: 4 |
|---|
| 452 | NeXus_version = 4.3.0 |
|---|
| 453 | file_name = NXtest.nxs |
|---|
| 454 | Group: entry(NXentry) contains 8 items |
|---|
| 455 | Path = /entry/ch_data |
|---|
| 456 | ch_data( 4) |
|---|
| 457 | Values : NeXus data |
|---|
| 458 | Path = /entry/i1_data |
|---|
| 459 | i1_data(20) |
|---|
| 460 | Values : 1 2 3 4 |
|---|
| 461 | Path = /entry/i2_data |
|---|
| 462 | i2_data(22) |
|---|
| 463 | Values : 1000 2000 3000 4000 |
|---|
| 464 | Path = /entry/i4_data |
|---|
| 465 | i4_data(24) |
|---|
| 466 | Values : 1000000 2000000 3000000 4000000 |
|---|
| 467 | Path = /entry/r4_data |
|---|
| 468 | r4_data( 5) |
|---|
| 469 | Values : 1.00 2.00 3.00 4.00 |
|---|
| 470 | : 5.00 6.00 7.00 8.00 |
|---|
| 471 | : 9.00 10.00 11.00 12.00 |
|---|
| 472 | : 13.00 14.00 15.00 16.00 |
|---|
| 473 | : 17.00 18.00 19.00 20.00 |
|---|
| 474 | Path = /entry/r8_data |
|---|
| 475 | r8_data( 6) |
|---|
| 476 | Values : 1.00 2.00 3.00 4.00 |
|---|
| 477 | : 5.00 6.00 7.00 8.00 |
|---|
| 478 | : 9.00 10.00 11.00 12.00 |
|---|
| 479 | : 13.00 14.00 15.00 16.00 |
|---|
| 480 | : 17.00 18.00 19.00 20.00 |
|---|
| 481 | ch_attribute : NeXus |
|---|
| 482 | i4_attribute : 42 |
|---|
| 483 | r4_attribute : 3.141593 |
|---|
| 484 | target : /entry/r8_data |
|---|
| 485 | Subgroup: data(NXdata) |
|---|
| 486 | Subgroup: sample(NXsample) |
|---|
| 487 | Link Check OK |
|---|
| 488 | ]]) |
|---|
| 489 | AT_CLEANUP |
|---|
| 490 | |
|---|
| 491 | AT_SETUP([Check the F77 binding using HDF5.]) |
|---|
| 492 | AT_CHECK([ $HAVE_F77 && $HAVE_HDF5 && $SETUP_TEST && napif_test-hdf5 | sed -e 's/\r$//' ], [], |
|---|
| 493 | [[ Number of global attributes: 4 |
|---|
| 494 | NeXus_version = 4.3.0 |
|---|
| 495 | file_name = NXtest.nxs |
|---|
| 496 | Group: entry(NXentry) contains 8 items |
|---|
| 497 | Path = /entry/ch_data |
|---|
| 498 | ch_data( 4) |
|---|
| 499 | Values : NeXus data |
|---|
| 500 | Subgroup: data(NXdata) |
|---|
| 501 | Path = /entry/i1_data |
|---|
| 502 | i1_data(20) |
|---|
| 503 | Values : 1 2 3 4 |
|---|
| 504 | Path = /entry/i2_data |
|---|
| 505 | i2_data(22) |
|---|
| 506 | Values : 1000 2000 3000 4000 |
|---|
| 507 | Path = /entry/i4_data |
|---|
| 508 | i4_data(24) |
|---|
| 509 | Values : 1000000 2000000 3000000 4000000 |
|---|
| 510 | Path = /entry/r4_data |
|---|
| 511 | r4_data( 5) |
|---|
| 512 | Values : 1.00 2.00 3.00 4.00 |
|---|
| 513 | : 5.00 6.00 7.00 8.00 |
|---|
| 514 | : 9.00 10.00 11.00 12.00 |
|---|
| 515 | : 13.00 14.00 15.00 16.00 |
|---|
| 516 | : 17.00 18.00 19.00 20.00 |
|---|
| 517 | Path = /entry/r8_data |
|---|
| 518 | r8_data( 6) |
|---|
| 519 | Values : 1.00 2.00 3.00 4.00 |
|---|
| 520 | : 5.00 6.00 7.00 8.00 |
|---|
| 521 | : 9.00 10.00 11.00 12.00 |
|---|
| 522 | : 13.00 14.00 15.00 16.00 |
|---|
| 523 | : 17.00 18.00 19.00 20.00 |
|---|
| 524 | ch_attribute : NeXus |
|---|
| 525 | i4_attribute : 42 |
|---|
| 526 | r4_attribute : 3.141593 |
|---|
| 527 | target : /entry/r8_data |
|---|
| 528 | Subgroup: sample(NXsample) |
|---|
| 529 | Link Check OK |
|---|
| 530 | ]]) |
|---|
| 531 | AT_CLEANUP |
|---|
| 532 | |
|---|
| 533 | AT_SETUP([Check the F90 binding using HDF5.]) |
|---|
| 534 | AT_CHECK([ $HAVE_F90 && $HAVE_HDF5 && $SETUP_TEST && NXtest | sed -e 's/\r$//' ], [], |
|---|
| 535 | [[Writing character data |
|---|
| 536 | Number of global attributes: 4 |
|---|
| 537 | NeXus_version = 4.3.0 |
|---|
| 538 | file_name = NXtest.nxs |
|---|
| 539 | Group: entry(NXentry) contains 8 items |
|---|
| 540 | ch_data : NX_CHAR |
|---|
| 541 | Values : NeXus data |
|---|
| 542 | Subgroup: data(NXdata) |
|---|
| 543 | i1_data : NX_INT8 |
|---|
| 544 | Values : 1 2 3 4 |
|---|
| 545 | i2_data : NX_INT16 |
|---|
| 546 | Values : 1000 2000 3000 4000 |
|---|
| 547 | i4_data : NX_INT32 |
|---|
| 548 | Values : 1000000 2000000 3000000 4000000 |
|---|
| 549 | r4_data : NX_FLOAT32 |
|---|
| 550 | Values : 1.0000000 2.0000000 3.0000000 4.0000000 |
|---|
| 551 | : 5.0000000 6.0000000 7.0000000 8.0000000 |
|---|
| 552 | : 9.0000000 10.0000000 11.0000000 12.0000000 |
|---|
| 553 | : 13.0000000 14.0000000 15.0000000 16.0000000 |
|---|
| 554 | : 17.0000000 18.0000000 19.0000000 20.0000000 |
|---|
| 555 | r8_data : NX_FLOAT64 |
|---|
| 556 | Values : 1.0000000 2.0000000 3.0000000 4.0000000 |
|---|
| 557 | : 5.0000000 6.0000000 7.0000000 8.0000000 |
|---|
| 558 | : 9.0000000 10.0000000 11.0000000 12.0000000 |
|---|
| 559 | : 13.0000000 14.0000000 15.0000000 16.0000000 |
|---|
| 560 | : 17.0000000 18.0000000 19.0000000 20.0000000 |
|---|
| 561 | ch_attribute : NeXus |
|---|
| 562 | i4_attribute : 42 |
|---|
| 563 | r4_attribute : 3.1415930 |
|---|
| 564 | target : /entry/r8_data |
|---|
| 565 | Subgroup: sample(NXsample) |
|---|
| 566 | Link Check OK |
|---|
| 567 | ]]) |
|---|
| 568 | AT_CLEANUP |
|---|
| 569 | |
|---|
| 570 | AT_BANNER([Check the C++ binding.]) |
|---|
| 571 | AT_SETUP([Check the C++ binding using HDF4.]) |
|---|
| 572 | AT_CHECK([ $HAVE_HDF4 && $SETUP_TEST && napi_test_cpp-hdf4 | sed -e 's/\r$//' ], [], |
|---|
| 573 | [[NXinquirefile found: napi_test_cpp.hdf |
|---|
| 574 | Number of global attributes: 4 |
|---|
| 575 | NeXus_version = 4.3.0 |
|---|
| 576 | file_name = napi_test_cpp.hdf |
|---|
| 577 | Number of group attributes: 2 |
|---|
| 578 | hugo = namenlos |
|---|
| 579 | cucumber = passion |
|---|
| 580 | Group contains 9 items |
|---|
| 581 | c1_data[5,4] = 2d character array |
|---|
| 582 | Path = /entry/c1_data |
|---|
| 583 | ch_data[10] = NeXus_data |
|---|
| 584 | Path = /entry/ch_data |
|---|
| 585 | data:NXdata |
|---|
| 586 | i1_data[4] = [,,,] |
|---|
| 587 | Path = /entry/i1_data |
|---|
| 588 | i2_data[4] = [1000,2000,3000,4000] |
|---|
| 589 | Path = /entry/i2_data |
|---|
| 590 | i4_data[4] = [1000000,2000000,3000000,4000000] |
|---|
| 591 | Path = /entry/i4_data |
|---|
| 592 | r4_data[5,4] = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19] |
|---|
| 593 | Path = /entry/r4_data |
|---|
| 594 | r8_data[5,4] = [20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39] |
|---|
| 595 | Path = /entry/r8_data |
|---|
| 596 | sample:NXsample |
|---|
| 597 | Link check OK |
|---|
| 598 | NXopenpath checks OK |
|---|
| 599 | First file time: 2005-05-27 05:44:13 |
|---|
| 600 | NXinquirefile found: data/dmc01.hdf |
|---|
| 601 | Second file sample: Ga0.94Mn0.04Sb_8mm |
|---|
| 602 | NXinquirefile found: data/dmc02.hdf |
|---|
| 603 | Second file time: 2005-05-27 05:48:56 |
|---|
| 604 | entry1 external URL = nxfile://data/dmc01.hdf#entry1 |
|---|
| 605 | TypeMap is correct size |
|---|
| 606 | ]]) |
|---|
| 607 | AT_CLEANUP |
|---|
| 608 | AT_SETUP([Check the C++ binding using HDF5.]) |
|---|
| 609 | AT_CHECK([ $HAVE_HDF5 && $SETUP_TEST && napi_test_cpp-hdf5 | sed -e 's/\r$//' ], [], |
|---|
| 610 | [[NXinquirefile found: napi_test_cpp.h5 |
|---|
| 611 | Number of global attributes: 4 |
|---|
| 612 | NeXus_version = 4.3.0 |
|---|
| 613 | file_name = napi_test_cpp.h5 |
|---|
| 614 | Number of group attributes: 2 |
|---|
| 615 | hugo = namenlos |
|---|
| 616 | cucumber = passion |
|---|
| 617 | Group contains 10 items |
|---|
| 618 | c1_data[5,4] = 2d character array |
|---|
| 619 | Path = /entry/c1_data |
|---|
| 620 | ch_data[10] = NeXus_data |
|---|
| 621 | Path = /entry/ch_data |
|---|
| 622 | data:NXdata |
|---|
| 623 | grosszahl[4] = [12,555555555555,23,777777777777] |
|---|
| 624 | Path = /entry/grosszahl |
|---|
| 625 | i1_data[4] = [,,,] |
|---|
| 626 | Path = /entry/i1_data |
|---|
| 627 | i2_data[4] = [1000,2000,3000,4000] |
|---|
| 628 | Path = /entry/i2_data |
|---|
| 629 | i4_data[4] = [1000000,2000000,3000000,4000000] |
|---|
| 630 | Path = /entry/i4_data |
|---|
| 631 | r4_data[5,4] = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19] |
|---|
| 632 | Path = /entry/r4_data |
|---|
| 633 | r8_data[5,4] = [20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39] |
|---|
| 634 | Path = /entry/r8_data |
|---|
| 635 | sample:NXsample |
|---|
| 636 | Link check OK |
|---|
| 637 | NXopenpath checks OK |
|---|
| 638 | First file time: 2005-05-27 05:44:13 |
|---|
| 639 | NXinquirefile found: data/dmc01.h5 |
|---|
| 640 | Second file sample: Ga0.94Mn0.04Sb_8mm |
|---|
| 641 | NXinquirefile found: data/dmc02.h5 |
|---|
| 642 | Second file time: 2005-05-27 05:48:56 |
|---|
| 643 | entry1 external URL = nxfile://data/dmc01.h5#entry1 |
|---|
| 644 | TypeMap is correct size |
|---|
| 645 | ]]) |
|---|
| 646 | AT_CLEANUP |
|---|
| 647 | AT_SETUP([Check the C++ binding using xml.]) |
|---|
| 648 | AT_CHECK([ $HAVE_XML && $SETUP_TEST && napi_test_cpp-xml | sed -e 's/\r$//' ], [], |
|---|
| 649 | [[NXinquirefile found: napi_test_cpp.xml |
|---|
| 650 | Number of global attributes: 7 |
|---|
| 651 | NeXus_version = 4.3.0 |
|---|
| 652 | file_name = napi_test_cpp.xml |
|---|
| 653 | xmlns = http://definition.nexusformat.org/schema/3.1 |
|---|
| 654 | xmlns:xsi = http://www.w3.org/2001/XMLSchema-instance |
|---|
| 655 | xsi:schemaLocation = http://definition.nexusformat.org/schema/3.1 http://definition.nexusformat.org/schema/3.1/BASE.xsd |
|---|
| 656 | Number of group attributes: 2 |
|---|
| 657 | hugo = namenlos |
|---|
| 658 | cucumber = passion |
|---|
| 659 | Group contains 10 items |
|---|
| 660 | c1_data[5,4] = 2d character array |
|---|
| 661 | Path = /entry/c1_data |
|---|
| 662 | ch_data[10] = NeXus_data |
|---|
| 663 | Path = /entry/ch_data |
|---|
| 664 | data:NXdata |
|---|
| 665 | grosszahl[4] = [12,555555555555,23,777777777777] |
|---|
| 666 | Path = /entry/grosszahl |
|---|
| 667 | i1_data[4] = [,,,] |
|---|
| 668 | Path = /entry/i1_data |
|---|
| 669 | i2_data[4] = [1000,2000,3000,4000] |
|---|
| 670 | Path = /entry/i2_data |
|---|
| 671 | i4_data[4] = [1000000,2000000,3000000,4000000] |
|---|
| 672 | Path = /entry/i4_data |
|---|
| 673 | r4_data[5,4] = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19] |
|---|
| 674 | Path = /entry/r4_data |
|---|
| 675 | r8_data[5,4] = [20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39] |
|---|
| 676 | Path = /entry/r8_data |
|---|
| 677 | sample:NXsample |
|---|
| 678 | Link check OK |
|---|
| 679 | NXopenpath checks OK |
|---|
| 680 | First file time: 2005-05-27 05:44:13 |
|---|
| 681 | NXinquirefile found: data/dmc01.xml |
|---|
| 682 | Second file sample: Ga0.94Mn0.04Sb_8mm |
|---|
| 683 | NXinquirefile found: data/dmc02.xml |
|---|
| 684 | Second file time: 2005-05-27 05:48:56 |
|---|
| 685 | entry1 external URL = nxfile://data/dmc01.xml#entry1 |
|---|
| 686 | TypeMap is correct size |
|---|
| 687 | ]]) |
|---|
| 688 | AT_CLEANUP |
|---|
| 689 | |
|---|
| 690 | AT_BANNER([[Testing the Python bindings.]]) |
|---|
| 691 | AT_SETUP([Checking python binding using HDF4]) |
|---|
| 692 | AT_CHECK([skip_test && $HAVE_HDF4 && $HAVE_PYTHON && $PYTHON $abs_srcdir/../bindings/python/nxstest.py -q hdf4 | sed -e 's/\r$//' ],[], |
|---|
| 693 | [[]]) |
|---|
| 694 | AT_CLEANUP |
|---|
| 695 | AT_SETUP([Checking python binding using HDF5]) |
|---|
| 696 | AT_CHECK([$HAVE_HDF5 && $HAVE_PYTHON && $PYTHON $abs_srcdir/../bindings/python/nxstest.py -q hdf5 | sed -e 's/\r$//' ],[], |
|---|
| 697 | [[]]) |
|---|
| 698 | AT_CLEANUP |
|---|
| 699 | AT_SETUP([Checking python binding using XML]) |
|---|
| 700 | AT_CHECK([$HAVE_XML && $HAVE_PYTHON && $PYTHON $abs_srcdir/../bindings/python/nxstest.py -q xml | sed -e 's/\r$//' ],[], |
|---|
| 701 | [[]]) |
|---|
| 702 | AT_CLEANUP |
|---|
| 703 | |
|---|
| 704 | AT_BANNER([[Testing the IDL bindings.]]) |
|---|
| 705 | AT_SETUP([Checking IDL binding using HDF4]) |
|---|
| 706 | AT_CHECK([skip_test && $HAVE_HDF4 && $HAVE_IDL && $SETUP_TEST && $SHELL $abs_srcdir/../bindings/idl/testidlnapi "'hdf4'" | sed -e 's/\r$//' ],[], |
|---|
| 707 | [['hdf4' |
|---|
| 708 | NeXus IDL Api Write test |
|---|
| 709 | Using HDF4 |
|---|
| 710 | % Loaded DLM: NEXUSIDL-API. |
|---|
| 711 | nxopen status: 1 |
|---|
| 712 | nxsetnumberformat status: 1 |
|---|
| 713 | nxmakegroup status: 1 |
|---|
| 714 | nxopengroup status: 1 |
|---|
| 715 | nxputattr status: 1 |
|---|
| 716 | nxputattr status: 1 |
|---|
| 717 | nxmakedata status: 1 |
|---|
| 718 | opendata status: 1 |
|---|
| 719 | nxputdata status: 1 |
|---|
| 720 | nxclosedata status: 1 |
|---|
| 721 | nxmakedata status: 1 |
|---|
| 722 | opendata status: 1 |
|---|
| 723 | nxputdata status: 1 |
|---|
| 724 | nxclosedata status: 1 |
|---|
| 725 | nxmakedata status: 1 |
|---|
| 726 | opendata status: 1 |
|---|
| 727 | nxputdata status: 1 |
|---|
| 728 | nxclosedata status: 1 |
|---|
| 729 | nxmakedata status: 1 |
|---|
| 730 | opendata status: 1 |
|---|
| 731 | nxputdata status: 0 |
|---|
| 732 | nxclosedata status: 1 |
|---|
| 733 | nxmakedata status: 1 |
|---|
| 734 | opendata status: 1 |
|---|
| 735 | nxputslab status: 1 |
|---|
| 736 | nxputattr status : 1 |
|---|
| 737 | nxputattr status : 1 |
|---|
| 738 | nxputattr status : 1 |
|---|
| 739 | nxgetdataid status: 1 |
|---|
| 740 | nxclosedata status: 1 |
|---|
| 741 | nxmakegroup status: 1 |
|---|
| 742 | nxopengroup status: 1 |
|---|
| 743 | nxmakelink status: 1 |
|---|
| 744 | nxmakecompdata status: 1 |
|---|
| 745 | opendata status: 1 |
|---|
| 746 | nxputdata status: 0 |
|---|
| 747 | nxclosedata status: 1 |
|---|
| 748 | nxflush status: 1 |
|---|
| 749 | nxmakedata status: 1 |
|---|
| 750 | opendata status: 1 |
|---|
| 751 | nxputslab 1 status: 1 |
|---|
| 752 | nxflush status: 1 |
|---|
| 753 | opendata status: 1 |
|---|
| 754 | nxputslab 2 status: 1 |
|---|
| 755 | nxflush status: 1 |
|---|
| 756 | opendata status: 1 |
|---|
| 757 | nxputslab 3 status: 1 |
|---|
| 758 | nxflush status: 1 |
|---|
| 759 | opendata status: 1 |
|---|
| 760 | nxputslab 4 status: 1 |
|---|
| 761 | nxflush status: 1 |
|---|
| 762 | opendata status: 1 |
|---|
| 763 | nxputslab 5 status: 1 |
|---|
| 764 | nxflush status: 1 |
|---|
| 765 | opendata status: 1 |
|---|
| 766 | nxputslab 6 status: 1 |
|---|
| 767 | nxflush status: 1 |
|---|
| 768 | opendata status: 1 |
|---|
| 769 | nxputslab 7 status: 1 |
|---|
| 770 | nxflush status: 1 |
|---|
| 771 | nxclosegroup status: 1 |
|---|
| 772 | nxmakegroup status: 1 |
|---|
| 773 | nxopengroup status: 1 |
|---|
| 774 | nxmakedata status: 1 |
|---|
| 775 | opendata status: 1 |
|---|
| 776 | nxputdata status: 1 |
|---|
| 777 | nxclosedata status: 1 |
|---|
| 778 | nxgetgroupid status: 1 |
|---|
| 779 | groupid handle: 2 |
|---|
| 780 | nxclosegroup status: 1 |
|---|
| 781 | nxclosegroup status: 1 |
|---|
| 782 | nxmakegroup status: 1 |
|---|
| 783 | nxopengroup status: 1 |
|---|
| 784 | nxmakelink status: 1 |
|---|
| 785 | groupid handle 2 |
|---|
| 786 | nxmakenamedlink status : 1 |
|---|
| 787 | dataid handle 1 |
|---|
| 788 | nxmakenamedlink status : 1 |
|---|
| 789 | nxclosegroup status: 1 |
|---|
| 790 | nxclose status: 1 |
|---|
| 791 | |
|---|
| 792 | #################### Test external linking ###################### |
|---|
| 793 | |
|---|
| 794 | nxopen status: 1 |
|---|
| 795 | nxmakegroup status: 1 |
|---|
| 796 | nxlinkexternal: 1 |
|---|
| 797 | nxmakegroup status: 1 |
|---|
| 798 | nxlinkexternal: 1 |
|---|
| 799 | nxclose status: 1 |
|---|
| 800 | nxopen status: 1 |
|---|
| 801 | nxopenpath status 1 |
|---|
| 802 | |
|---|
| 803 | nxget data status: 1 |
|---|
| 804 | First file time : |
|---|
| 805 | 2005-05-27 05:44:13 |
|---|
| 806 | |
|---|
| 807 | nxinquirefile status: 1 |
|---|
| 808 | current file: data/dmc01.hdf |
|---|
| 809 | nxopenpath status 1 |
|---|
| 810 | nxget data status: 1 |
|---|
| 811 | Second file sample : |
|---|
| 812 | Ga0.94Mn0.04Sb_8mm |
|---|
| 813 | |
|---|
| 814 | nxinquirefile status: 1 |
|---|
| 815 | current file: data/dmc01.hdf |
|---|
| 816 | nxopenpath status 1 |
|---|
| 817 | nxget data status: 1 |
|---|
| 818 | Second file time : |
|---|
| 819 | 2005-05-27 05:44:13 |
|---|
| 820 | |
|---|
| 821 | nxisexternalgroup status 1 |
|---|
| 822 | entry1 external URL = |
|---|
| 823 | nxclose status: 1 |
|---|
| 824 | % Compiled module: READ_TEST. |
|---|
| 825 | Opening file: NXtest.hdf |
|---|
| 826 | nxopen status: 1 |
|---|
| 827 | nxinquirefile status: 1 |
|---|
| 828 | nxinquirefile found: NXtest.hdf |
|---|
| 829 | nxgetattrinfo status: 1 |
|---|
| 830 | Number of global attributes: 4 |
|---|
| 831 | |
|---|
| 832 | NXgetnextattr status: 1 |
|---|
| 833 | |
|---|
| 834 | attribute name: NeXus_version |
|---|
| 835 | attribute value: 4.3.0 |
|---|
| 836 | |
|---|
| 837 | NXgetnextattr status: 1 |
|---|
| 838 | |
|---|
| 839 | attribute name: HDF_version |
|---|
| 840 | attribute value: NCSA HDF Version 4.2 Release 2, October 4, 2007 |
|---|
| 841 | |
|---|
| 842 | NXgetnextattr status: 1 |
|---|
| 843 | |
|---|
| 844 | attribute name: file_name |
|---|
| 845 | attribute value: NXtest.hdf |
|---|
| 846 | |
|---|
| 847 | NXgetnextattr status: 1 |
|---|
| 848 | |
|---|
| 849 | |
|---|
| 850 | NXgetnextattr status: -1 |
|---|
| 851 | |
|---|
| 852 | nxopengroup status: 1 |
|---|
| 853 | nxgetattrinfo status: 1 |
|---|
| 854 | Number of group attributes: 2 |
|---|
| 855 | NXgetnextattr status: 1 |
|---|
| 856 | nxgetattr status 1 |
|---|
| 857 | attribute name: hugo |
|---|
| 858 | attrubute lenght: 8 |
|---|
| 859 | attribute type: 4 |
|---|
| 860 | attribute value: namenlos |
|---|
| 861 | |
|---|
| 862 | NXgetnextattr status: 1 |
|---|
| 863 | nxgetattr status 1 |
|---|
| 864 | attribute name: cucumber |
|---|
| 865 | attrubute lenght: 7 |
|---|
| 866 | attribute type: 4 |
|---|
| 867 | attribute value: passion |
|---|
| 868 | |
|---|
| 869 | NXgetnextattr status: -1 |
|---|
| 870 | nxgetgroupinfo status 1 |
|---|
| 871 | current group name: entry |
|---|
| 872 | current group class: NXentry |
|---|
| 873 | number of items in group: 7 |
|---|
| 874 | |
|---|
| 875 | nxgetnextentry status: 1 |
|---|
| 876 | nxgetnextentry name: ch_data |
|---|
| 877 | nxgetnextentry class: SDS |
|---|
| 878 | nxgetnextentry data_type 4 |
|---|
| 879 | |
|---|
| 880 | opening data: ch_data |
|---|
| 881 | nxopendata status: 1 |
|---|
| 882 | |
|---|
| 883 | nxgetinfo Status: 1 |
|---|
| 884 | Rank: 1 |
|---|
| 885 | Dim [ 0]: 10 |
|---|
| 886 | Data Type: 4 |
|---|
| 887 | |
|---|
| 888 | nxget data status: 1 |
|---|
| 889 | data : |
|---|
| 890 | NeXus Data |
|---|
| 891 | |
|---|
| 892 | nxgetattrinfo status: 1 |
|---|
| 893 | Number of group attributes: 0 |
|---|
| 894 | nxgetnextattr status: -1 |
|---|
| 895 | nxclosedata status: 1 |
|---|
| 896 | nxgetnextentry status: 1 |
|---|
| 897 | nxgetnextentry name: i1_data |
|---|
| 898 | nxgetnextentry class: SDS |
|---|
| 899 | nxgetnextentry data_type 21 |
|---|
| 900 | |
|---|
| 901 | opening data: i1_data |
|---|
| 902 | nxopendata status: 1 |
|---|
| 903 | |
|---|
| 904 | nxgetinfo Status: 1 |
|---|
| 905 | Rank: 2 |
|---|
| 906 | Dim [ 0]: 4 |
|---|
| 907 | Dim [ 1]: 4 |
|---|
| 908 | Data Type: 21 |
|---|
| 909 | |
|---|
| 910 | nxgetslab status: 1 |
|---|
| 911 | data : |
|---|
| 912 | 0 4 8 12 |
|---|
| 913 | |
|---|
| 914 | nxgetslab status: 1 |
|---|
| 915 | data : |
|---|
| 916 | 1 5 9 13 |
|---|
| 917 | |
|---|
| 918 | nxgetslab status: 1 |
|---|
| 919 | data : |
|---|
| 920 | 2 6 10 14 |
|---|
| 921 | |
|---|
| 922 | nxgetslab status: 1 |
|---|
| 923 | data : |
|---|
| 924 | 4 7 11 15 |
|---|
| 925 | |
|---|
| 926 | nxgetattrinfo status: 1 |
|---|
| 927 | Number of group attributes: 0 |
|---|
| 928 | nxgetnextattr status: -1 |
|---|
| 929 | nxclosedata status: 1 |
|---|
| 930 | nxgetnextentry status: 1 |
|---|
| 931 | nxgetnextentry name: i4_data |
|---|
| 932 | nxgetnextentry class: SDS |
|---|
| 933 | nxgetnextentry data_type 24 |
|---|
| 934 | |
|---|
| 935 | opening data: i4_data |
|---|
| 936 | nxopendata status: 1 |
|---|
| 937 | |
|---|
| 938 | nxgetinfo Status: 1 |
|---|
| 939 | Rank: 2 |
|---|
| 940 | Dim [ 0]: 4 |
|---|
| 941 | Dim [ 1]: 4 |
|---|
| 942 | Data Type: 24 |
|---|
| 943 | |
|---|
| 944 | nxgetslab status: 1 |
|---|
| 945 | data : |
|---|
| 946 | 0 4 8 12 |
|---|
| 947 | |
|---|
| 948 | nxgetslab status: 1 |
|---|
| 949 | data : |
|---|
| 950 | 1 5 9 13 |
|---|
| 951 | |
|---|
| 952 | nxgetslab status: 1 |
|---|
| 953 | data : |
|---|
| 954 | 2 6 10 14 |
|---|
| 955 | |
|---|
| 956 | nxgetslab status: 1 |
|---|
| 957 | data : |
|---|
| 958 | 3 7 11 15 |
|---|
| 959 | |
|---|
| 960 | nxgetattrinfo status: 1 |
|---|
| 961 | Number of group attributes: 0 |
|---|
| 962 | nxgetnextattr status: -1 |
|---|
| 963 | nxclosedata status: 1 |
|---|
| 964 | nxgetnextentry status: 1 |
|---|
| 965 | nxgetnextentry name: r4_data |
|---|
| 966 | nxgetnextentry class: SDS |
|---|
| 967 | nxgetnextentry data_type 5 |
|---|
| 968 | |
|---|
| 969 | opening data: r4_data |
|---|
| 970 | nxopendata status: 1 |
|---|
| 971 | |
|---|
| 972 | nxgetinfo Status: 1 |
|---|
| 973 | Rank: 2 |
|---|
| 974 | Dim [ 0]: 4 |
|---|
| 975 | Dim [ 1]: 4 |
|---|
| 976 | Data Type: 5 |
|---|
| 977 | |
|---|
| 978 | nxgetslab status: 1 |
|---|
| 979 | data : |
|---|
| 980 | 9.96921e+36 9.96921e+36 9.96921e+36 9.96921e+36 |
|---|
| 981 | |
|---|
| 982 | nxgetslab status: 1 |
|---|
| 983 | data : |
|---|
| 984 | 9.96921e+36 9.96921e+36 9.96921e+36 9.96921e+36 |
|---|
| 985 | |
|---|
| 986 | nxgetslab status: 1 |
|---|
| 987 | data : |
|---|
| 988 | 9.96921e+36 9.96921e+36 9.96921e+36 9.96921e+36 |
|---|
| 989 | |
|---|
| 990 | nxgetslab status: 1 |
|---|
| 991 | data : |
|---|
| 992 | 9.96921e+36 9.96921e+36 9.96921e+36 9.96921e+36 |
|---|
| 993 | |
|---|
| 994 | nxgetattrinfo status: 1 |
|---|
| 995 | Number of group attributes: 0 |
|---|
| 996 | nxgetnextattr status: -1 |
|---|
| 997 | nxclosedata status: 1 |
|---|
| 998 | nxgetnextentry status: 1 |
|---|
| 999 | nxgetnextentry name: r8_data |
|---|
| 1000 | nxgetnextentry class: SDS |
|---|
| 1001 | nxgetnextentry data_type 6 |
|---|
| 1002 | |
|---|
| 1003 | opening data: r8_data |
|---|
| 1004 | nxopendata status: 1 |
|---|
| 1005 | |
|---|
| 1006 | nxgetinfo Status: 1 |
|---|
| 1007 | Rank: 2 |
|---|
| 1008 | Dim [ 0]: 4 |
|---|
| 1009 | Dim [ 1]: 4 |
|---|
| 1010 | Data Type: 6 |
|---|
| 1011 | |
|---|
| 1012 | nxgetslab status: 1 |
|---|
| 1013 | data : |
|---|
| 1014 | 9.9692100e+36 9.9692100e+36 9.9692100e+36 9.9692100e+36 |
|---|
| 1015 | |
|---|
| 1016 | nxgetslab status: 1 |
|---|
| 1017 | data : |
|---|
| 1018 | 9.9692100e+36 9.9692100e+36 9.9692100e+36 9.9692100e+36 |
|---|
| 1019 | |
|---|
| 1020 | nxgetslab status: 1 |
|---|
| 1021 | data : |
|---|
| 1022 | 0.011111200 0.021222220 0.23333333 0.34444444 |
|---|
| 1023 | |
|---|
| 1024 | nxgetslab status: 1 |
|---|
| 1025 | data : |
|---|
| 1026 | 9.9692100e+36 9.9692100e+36 9.9692100e+36 9.9692100e+36 |
|---|
| 1027 | |
|---|
| 1028 | nxgetattrinfo status: 1 |
|---|
| 1029 | Number of group attributes: 4 |
|---|
| 1030 | Number of global attributes: 4 |
|---|
| 1031 | nxgetnextattr status: 1 |
|---|
| 1032 | nxgetattr status 1 |
|---|
| 1033 | attribute name: ch_attribute |
|---|
| 1034 | attribute value: NeXus |
|---|
| 1035 | |
|---|
| 1036 | nxgetnextattr status: 1 |
|---|
| 1037 | nxgetattr status 1 |
|---|
| 1038 | attribute name: i4_attribute |
|---|
| 1039 | attribute value: 42 |
|---|
| 1040 | |
|---|
| 1041 | nxgetnextattr status: 1 |
|---|
| 1042 | nxgetattr status 1 |
|---|
| 1043 | attribute name: r4_attribute |
|---|
| 1044 | attribute value: 3.14159 |
|---|
| 1045 | |
|---|
| 1046 | nxgetnextattr status: 1 |
|---|
| 1047 | nxgetattr status 1 |
|---|
| 1048 | attribute name: target |
|---|
| 1049 | attribute value: /entry/r8_data |
|---|
| 1050 | |
|---|
| 1051 | nxgetnextattr status: -1 |
|---|
| 1052 | nxclosedata status: 1 |
|---|
| 1053 | nxgetnextentry status: 1 |
|---|
| 1054 | nxgetnextentry name: data |
|---|
| 1055 | nxgetnextentry class: NXdata |
|---|
| 1056 | nxgetnextentry data_type 1965 |
|---|
| 1057 | |
|---|
| 1058 | nxgetnextentry status: 1 |
|---|
| 1059 | nxgetnextentry name: sample |
|---|
| 1060 | nxgetnextentry class: NXsample |
|---|
| 1061 | nxgetnextentry data_type 1965 |
|---|
| 1062 | |
|---|
| 1063 | nxgetnextentry status: -1 |
|---|
| 1064 | nxclosegroup status: 1 |
|---|
| 1065 | |
|---|
| 1066 | ####################### Checking Links ########################### |
|---|
| 1067 | |
|---|
| 1068 | nxopengroup status: 1 |
|---|
| 1069 | |
|---|
| 1070 | nxopengroup status: 1 |
|---|
| 1071 | |
|---|
| 1072 | nxgetgroupid status: 1 |
|---|
| 1073 | groupid handle: 1 |
|---|
| 1074 | |
|---|
| 1075 | nxclosegroup status: 1 |
|---|
| 1076 | |
|---|
| 1077 | nxopengroup status: 1 |
|---|
| 1078 | |
|---|
| 1079 | nxopendata status: 1 |
|---|
| 1080 | |
|---|
| 1081 | nxgetdataid status: 1 |
|---|
| 1082 | nxclosedata status: 1 |
|---|
| 1083 | nxclosegroup status: 1 |
|---|
| 1084 | |
|---|
| 1085 | nxopendata status: 1 |
|---|
| 1086 | |
|---|
| 1087 | nxgetdataid status: 1 |
|---|
| 1088 | nxclosedata status: 1 |
|---|
| 1089 | debug |
|---|
| 1090 | nxsamid status: 1 |
|---|
| 1091 | Data id: Link check succesfull |
|---|
| 1092 | nxclosegroup status: 1 |
|---|
| 1093 | |
|---|
| 1094 | nxopengroup status: 1 |
|---|
| 1095 | |
|---|
| 1096 | nxopengroup status: 1 |
|---|
| 1097 | |
|---|
| 1098 | nxgetgroupid status: 1 |
|---|
| 1099 | |
|---|
| 1100 | Group Id: Link check succesfull |
|---|
| 1101 | nxclosegroup status: 1 |
|---|
| 1102 | |
|---|
| 1103 | nxopengroup status: 1 |
|---|
| 1104 | |
|---|
| 1105 | nxgetgroupid status: 1 |
|---|
| 1106 | |
|---|
| 1107 | Group Id Named: Link check succesfull |
|---|
| 1108 | |
|---|
| 1109 | nxclosegroup status: 1 |
|---|
| 1110 | |
|---|
| 1111 | nxopendata status: 1 |
|---|
| 1112 | |
|---|
| 1113 | nxgetdataid status: 1 |
|---|
| 1114 | Data Id Named: Link check succesfull |
|---|
| 1115 | nxclosedata status: 1 |
|---|
| 1116 | Openpath succesfull (/entry/data/comp_data) |
|---|
| 1117 | Openpath on a relative path (../r8_data) succesfull |
|---|
| 1118 | nxclose status: 1 |
|---|
| 1119 | finished napi test |
|---|
| 1120 | ]]) |
|---|
| 1121 | AT_CLEANUP |
|---|
| 1122 | AT_SETUP([Checking IDL binding using HDF5]) |
|---|
| 1123 | AT_CHECK([$HAVE_HDF5 && $HAVE_IDL && $SETUP_TEST && $SHELL $abs_srcdir/../bindings/idl/testidlnapi "'hdf5'" | sed -e 's/\r$//' ],[], |
|---|
| 1124 | [['hdf5' |
|---|
| 1125 | NeXus IDL Api Write test |
|---|
| 1126 | Using HDF5 |
|---|
| 1127 | % Loaded DLM: NEXUSIDL-API. |
|---|
| 1128 | nxopen status: 1 |
|---|
| 1129 | nxsetnumberformat status: 1 |
|---|
| 1130 | nxmakegroup status: 1 |
|---|
| 1131 | nxopengroup status: 1 |
|---|
| 1132 | nxputattr status: 1 |
|---|
| 1133 | nxputattr status: 1 |
|---|
| 1134 | nxmakedata status: 1 |
|---|
| 1135 | opendata status: 1 |
|---|
| 1136 | nxputdata status: 1 |
|---|
| 1137 | nxclosedata status: 1 |
|---|
| 1138 | nxmakedata status: 1 |
|---|
| 1139 | opendata status: 1 |
|---|
| 1140 | nxputdata status: 1 |
|---|
| 1141 | nxclosedata status: 1 |
|---|
| 1142 | nxmakedata status: 1 |
|---|
| 1143 | opendata status: 1 |
|---|
| 1144 | nxputdata status: 1 |
|---|
| 1145 | nxclosedata status: 1 |
|---|
| 1146 | nxmakedata status: 1 |
|---|
| 1147 | opendata status: 1 |
|---|
| 1148 | nxputdata status: 1 |
|---|
| 1149 | nxclosedata status: 1 |
|---|
| 1150 | nxmakedata status: 1 |
|---|
| 1151 | opendata status: 1 |
|---|
| 1152 | nxputslab status: 1 |
|---|
| 1153 | nxputattr status : 1 |
|---|
| 1154 | nxputattr status : 1 |
|---|
| 1155 | nxputattr status : 1 |
|---|
| 1156 | nxgetdataid status: 1 |
|---|
| 1157 | nxclosedata status: 1 |
|---|
| 1158 | nxmakegroup status: 1 |
|---|
| 1159 | nxopengroup status: 1 |
|---|
| 1160 | nxmakelink status: 1 |
|---|
| 1161 | nxmakecompdata status: 1 |
|---|
| 1162 | opendata status: 1 |
|---|
| 1163 | nxputdata status: 1 |
|---|
| 1164 | nxclosedata status: 1 |
|---|
| 1165 | nxflush status: 1 |
|---|
| 1166 | nxmakedata status: 1 |
|---|
| 1167 | opendata status: 1 |
|---|
| 1168 | nxputslab 1 status: 1 |
|---|
| 1169 | nxflush status: 1 |
|---|
| 1170 | opendata status: 1 |
|---|
| 1171 | nxputslab 2 status: 1 |
|---|
| 1172 | nxflush status: 1 |
|---|
| 1173 | opendata status: 1 |
|---|
| 1174 | nxputslab 3 status: 1 |
|---|
| 1175 | nxflush status: 1 |
|---|
| 1176 | opendata status: 1 |
|---|
| 1177 | nxputslab 4 status: 1 |
|---|
| 1178 | nxflush status: 1 |
|---|
| 1179 | opendata status: 1 |
|---|
| 1180 | nxputslab 5 status: 1 |
|---|
| 1181 | nxflush status: 1 |
|---|
| 1182 | opendata status: 1 |
|---|
| 1183 | nxputslab 6 status: 1 |
|---|
| 1184 | nxflush status: 1 |
|---|
| 1185 | opendata status: 1 |
|---|
| 1186 | nxputslab 7 status: 1 |
|---|
| 1187 | nxflush status: 1 |
|---|
| 1188 | nxclosegroup status: 1 |
|---|
| 1189 | nxmakegroup status: 1 |
|---|
| 1190 | nxopengroup status: 1 |
|---|
| 1191 | nxmakedata status: 1 |
|---|
| 1192 | opendata status: 1 |
|---|
| 1193 | nxputdata status: 1 |
|---|
| 1194 | nxclosedata status: 1 |
|---|
| 1195 | nxgetgroupid status: 1 |
|---|
| 1196 | groupid handle: 2 |
|---|
| 1197 | nxclosegroup status: 1 |
|---|
| 1198 | nxclosegroup status: 1 |
|---|
| 1199 | nxmakegroup status: 1 |
|---|
| 1200 | nxopengroup status: 1 |
|---|
| 1201 | nxmakelink status: 1 |
|---|
| 1202 | groupid handle 2 |
|---|
| 1203 | nxmakenamedlink status : 1 |
|---|
| 1204 | dataid handle 1 |
|---|
| 1205 | nxmakenamedlink status : 1 |
|---|
| 1206 | nxclosegroup status: 1 |
|---|
| 1207 | nxclose status: 1 |
|---|
| 1208 | |
|---|
| 1209 | #################### Test external linking ###################### |
|---|
| 1210 | |
|---|
| 1211 | nxopen status: 1 |
|---|
| 1212 | nxmakegroup status: 1 |
|---|
| 1213 | nxlinkexternal: 1 |
|---|
| 1214 | nxmakegroup status: 1 |
|---|
| 1215 | nxlinkexternal: 1 |
|---|
| 1216 | nxclose status: 1 |
|---|
| 1217 | nxopen status: 1 |
|---|
| 1218 | nxopenpath status 1 |
|---|
| 1219 | |
|---|
| 1220 | nxget data status: 1 |
|---|
| 1221 | First file time : |
|---|
| 1222 | 2005-05-27 05:44:13 |
|---|
| 1223 | |
|---|
| 1224 | nxinquirefile status: 1 |
|---|
| 1225 | current file: data/dmc01.h5 |
|---|
| 1226 | nxopenpath status 1 |
|---|
| 1227 | nxget data status: 1 |
|---|
| 1228 | Second file sample : |
|---|
| 1229 | Ga0.94Mn0.04Sb_8mm |
|---|
| 1230 | |
|---|
| 1231 | nxinquirefile status: 1 |
|---|
| 1232 | current file: data/dmc01.h5 |
|---|
| 1233 | nxopenpath status 1 |
|---|
| 1234 | nxget data status: 1 |
|---|
| 1235 | Second file time : |
|---|
| 1236 | 2005-05-27 05:44:13 |
|---|
| 1237 | |
|---|
| 1238 | nxisexternalgroup status 1 |
|---|
| 1239 | entry1 external URL = |
|---|
| 1240 | nxclose status: 1 |
|---|
| 1241 | % Compiled module: READ_TEST. |
|---|
| 1242 | Opening file: NXtest.h5 |
|---|
| 1243 | nxopen status: 1 |
|---|
| 1244 | nxinquirefile status: 1 |
|---|
| 1245 | nxinquirefile found: NXtest.h5 |
|---|
| 1246 | nxgetattrinfo status: 1 |
|---|
| 1247 | Number of global attributes: 4 |
|---|
| 1248 | |
|---|
| 1249 | NXgetnextattr status: 1 |
|---|
| 1250 | |
|---|
| 1251 | attribute name: NeXus_version |
|---|
| 1252 | attribute value: 4.3.0 |
|---|
| 1253 | |
|---|
| 1254 | NXgetnextattr status: 1 |
|---|
| 1255 | |
|---|
| 1256 | attribute name: file_name |
|---|
| 1257 | attribute value: NXtest.h5 |
|---|
| 1258 | |
|---|
| 1259 | NXgetnextattr status: 1 |
|---|
| 1260 | |
|---|
| 1261 | attribute name: HDF5_Version |
|---|
| 1262 | attribute value: 1.6.8 |
|---|
| 1263 | |
|---|
| 1264 | NXgetnextattr status: 1 |
|---|
| 1265 | |
|---|
| 1266 | |
|---|
| 1267 | NXgetnextattr status: -1 |
|---|
| 1268 | |
|---|
| 1269 | nxopengroup status: 1 |
|---|
| 1270 | nxgetattrinfo status: 1 |
|---|
| 1271 | Number of group attributes: 2 |
|---|
| 1272 | NXgetnextattr status: 1 |
|---|
| 1273 | nxgetattr status 1 |
|---|
| 1274 | attribute name: hugo |
|---|
| 1275 | attrubute lenght: 8 |
|---|
| 1276 | attribute type: 4 |
|---|
| 1277 | attribute value: namenlos |
|---|
| 1278 | |
|---|
| 1279 | NXgetnextattr status: 1 |
|---|
| 1280 | nxgetattr status 1 |
|---|
| 1281 | attribute name: cucumber |
|---|
| 1282 | attrubute lenght: 7 |
|---|
| 1283 | attribute type: 4 |
|---|
| 1284 | attribute value: passion |
|---|
| 1285 | |
|---|
| 1286 | NXgetnextattr status: -1 |
|---|
| 1287 | nxgetgroupinfo status 1 |
|---|
| 1288 | current group name: entry |
|---|
| 1289 | current group class: NXentry |
|---|
| 1290 | number of items in group: 7 |
|---|
| 1291 | |
|---|
| 1292 | nxgetnextentry status: 1 |
|---|
| 1293 | nxgetnextentry name: ch_data |
|---|
| 1294 | nxgetnextentry class: SDS |
|---|
| 1295 | nxgetnextentry data_type 4 |
|---|
| 1296 | |
|---|
| 1297 | opening data: ch_data |
|---|
| 1298 | nxopendata status: 1 |
|---|
| 1299 | |
|---|
| 1300 | nxgetinfo Status: 1 |
|---|
| 1301 | Rank: 1 |
|---|
| 1302 | Dim [ 0]: 10 |
|---|
| 1303 | Data Type: 4 |
|---|
| 1304 | |
|---|
| 1305 | nxget data status: 1 |
|---|
| 1306 | data : |
|---|
| 1307 | NeXus Data |
|---|
| 1308 | |
|---|
| 1309 | nxgetattrinfo status: 1 |
|---|
| 1310 | Number of group attributes: 0 |
|---|
| 1311 | nxgetnextattr status: -1 |
|---|
| 1312 | nxclosedata status: 1 |
|---|
| 1313 | nxgetnextentry status: 1 |
|---|
| 1314 | nxgetnextentry name: data |
|---|
| 1315 | nxgetnextentry class: NXdata |
|---|
| 1316 | nxgetnextentry data_type 0 |
|---|
| 1317 | |
|---|
| 1318 | nxgetnextentry status: 1 |
|---|
| 1319 | nxgetnextentry name: i1_data |
|---|
| 1320 | nxgetnextentry class: SDS |
|---|
| 1321 | nxgetnextentry data_type 21 |
|---|
| 1322 | |
|---|
| 1323 | opening data: i1_data |
|---|
| 1324 | nxopendata status: 1 |
|---|
| 1325 | |
|---|
| 1326 | nxgetinfo Status: 1 |
|---|
| 1327 | Rank: 2 |
|---|
| 1328 | Dim [ 0]: 4 |
|---|
| 1329 | Dim [ 1]: 4 |
|---|
| 1330 | Data Type: 21 |
|---|
| 1331 | |
|---|
| 1332 | nxgetslab status: 1 |
|---|
| 1333 | data : |
|---|
| 1334 | 0 4 8 12 |
|---|
| 1335 | |
|---|
| 1336 | nxgetslab status: 1 |
|---|
| 1337 | data : |
|---|
| 1338 | 1 5 9 13 |
|---|
| 1339 | |
|---|
| 1340 | nxgetslab status: 1 |
|---|
| 1341 | data : |
|---|
| 1342 | 2 6 10 14 |
|---|
| 1343 | |
|---|
| 1344 | nxgetslab status: 1 |
|---|
| 1345 | data : |
|---|
| 1346 | 4 7 11 15 |
|---|
| 1347 | |
|---|
| 1348 | nxgetattrinfo status: 1 |
|---|
| 1349 | Number of group attributes: 0 |
|---|
| 1350 | nxgetnextattr status: -1 |
|---|
| 1351 | nxclosedata status: 1 |
|---|
| 1352 | nxgetnextentry status: 1 |
|---|
| 1353 | nxgetnextentry name: i4_data |
|---|
| 1354 | nxgetnextentry class: SDS |
|---|
| 1355 | nxgetnextentry data_type 24 |
|---|
| 1356 | |
|---|
| 1357 | opening data: i4_data |
|---|
| 1358 | nxopendata status: 1 |
|---|
| 1359 | |
|---|
| 1360 | nxgetinfo Status: 1 |
|---|
| 1361 | Rank: 2 |
|---|
| 1362 | Dim [ 0]: 4 |
|---|
| 1363 | Dim [ 1]: 4 |
|---|
| 1364 | Data Type: 24 |
|---|
| 1365 | |
|---|
| 1366 | nxgetslab status: 1 |
|---|
| 1367 | data : |
|---|
| 1368 | 0 4 8 12 |
|---|
| 1369 | |
|---|
| 1370 | nxgetslab status: 1 |
|---|
| 1371 | data : |
|---|
| 1372 | 1 5 9 13 |
|---|
| 1373 | |
|---|
| 1374 | nxgetslab status: 1 |
|---|
| 1375 | data : |
|---|
| 1376 | 2 6 10 14 |
|---|
| 1377 | |
|---|
| 1378 | nxgetslab status: 1 |
|---|
| 1379 | data : |
|---|
| 1380 | 3 7 11 15 |
|---|
| 1381 | |
|---|
| 1382 | nxgetattrinfo status: 1 |
|---|
| 1383 | Number of group attributes: 0 |
|---|
| 1384 | nxgetnextattr status: -1 |
|---|
| 1385 | nxclosedata status: 1 |
|---|
| 1386 | nxgetnextentry status: 1 |
|---|
| 1387 | nxgetnextentry name: r4_data |
|---|
| 1388 | nxgetnextentry class: SDS |
|---|
| 1389 | nxgetnextentry data_type 5 |
|---|
| 1390 | |
|---|
| 1391 | opening data: r4_data |
|---|
| 1392 | nxopendata status: 1 |
|---|
| 1393 | |
|---|
| 1394 | nxgetinfo Status: 1 |
|---|
| 1395 | Rank: 2 |
|---|
| 1396 | Dim [ 0]: 4 |
|---|
| 1397 | Dim [ 1]: 4 |
|---|
| 1398 | Data Type: 5 |
|---|
| 1399 | |
|---|
| 1400 | nxgetslab status: 1 |
|---|
| 1401 | data : |
|---|
| 1402 | 0.0111112 0.344333 0.666669 -12.2000 |
|---|
| 1403 | |
|---|
| 1404 | nxgetslab status: 1 |
|---|
| 1405 | data : |
|---|
| 1406 | 0.0212222 0.555556 1.00000 -13.4444 |
|---|
| 1407 | |
|---|
| 1408 | nxgetslab status: 1 |
|---|
| 1409 | data : |
|---|
| 1410 | 0.233333 0.666667 10.1000 -14.2222 |
|---|
| 1411 | |
|---|
| 1412 | nxgetslab status: 1 |
|---|
| 1413 | data : |
|---|
| 1414 | 0.344444 0.777773 11.2222 -15.4444 |
|---|
| 1415 | |
|---|
| 1416 | nxgetattrinfo status: 1 |
|---|
| 1417 | Number of group attributes: 0 |
|---|
| 1418 | nxgetnextattr status: -1 |
|---|
| 1419 | nxclosedata status: 1 |
|---|
| 1420 | nxgetnextentry status: 1 |
|---|
| 1421 | nxgetnextentry name: r8_data |
|---|
| 1422 | nxgetnextentry class: SDS |
|---|
| 1423 | nxgetnextentry data_type 6 |
|---|
| 1424 | |
|---|
| 1425 | opening data: r8_data |
|---|
| 1426 | nxopendata status: 1 |
|---|
| 1427 | |
|---|
| 1428 | nxgetinfo Status: 1 |
|---|
| 1429 | Rank: 2 |
|---|
| 1430 | Dim [ 0]: 4 |
|---|
| 1431 | Dim [ 1]: 4 |
|---|
| 1432 | Data Type: 6 |
|---|
| 1433 | |
|---|
| 1434 | nxgetslab status: 1 |
|---|
| 1435 | data : |
|---|
| 1436 | 0.0000000 0.0000000 0.0000000 0.0000000 |
|---|
| 1437 | |
|---|
| 1438 | nxgetslab status: 1 |
|---|
| 1439 | data : |
|---|
| 1440 | 0.0000000 0.0000000 0.0000000 0.0000000 |
|---|
| 1441 | |
|---|
| 1442 | nxgetslab status: 1 |
|---|
| 1443 | data : |
|---|
| 1444 | 0.011111200 0.021222220 0.23333333 0.34444444 |
|---|
| 1445 | |
|---|
| 1446 | nxgetslab status: 1 |
|---|
| 1447 | data : |
|---|
| 1448 | 0.0000000 0.0000000 0.0000000 0.0000000 |
|---|
| 1449 | |
|---|
| 1450 | nxgetattrinfo status: 1 |
|---|
| 1451 | Number of group attributes: 4 |
|---|
| 1452 | Number of global attributes: 4 |
|---|
| 1453 | nxgetnextattr status: 1 |
|---|
| 1454 | nxgetattr status 1 |
|---|
| 1455 | attribute name: ch_attribute |
|---|
| 1456 | attribute value: NeXus |
|---|
| 1457 | |
|---|
| 1458 | nxgetnextattr status: 1 |
|---|
| 1459 | nxgetattr status 1 |
|---|
| 1460 | attribute name: i4_attribute |
|---|
| 1461 | attribute value: 42 |
|---|
| 1462 | |
|---|
| 1463 | nxgetnextattr status: 1 |
|---|
| 1464 | nxgetattr status 1 |
|---|
| 1465 | attribute name: r4_attribute |
|---|
| 1466 | attribute value: 3.14159 |
|---|
| 1467 | |
|---|
| 1468 | nxgetnextattr status: 1 |
|---|
| 1469 | nxgetattr status 1 |
|---|
| 1470 | attribute name: target |
|---|
| 1471 | attribute value: /entry/r8_data |
|---|
| 1472 | |
|---|
| 1473 | nxgetnextattr status: -1 |
|---|
| 1474 | nxclosedata status: 1 |
|---|
| 1475 | nxgetnextentry status: 1 |
|---|
| 1476 | nxgetnextentry name: sample |
|---|
| 1477 | nxgetnextentry class: NXsample |
|---|
| 1478 | nxgetnextentry data_type 0 |
|---|
| 1479 | |
|---|
| 1480 | nxgetnextentry status: -1 |
|---|
| 1481 | nxclosegroup status: 1 |
|---|
| 1482 | |
|---|
| 1483 | ####################### Checking Links ########################### |
|---|
| 1484 | |
|---|
| 1485 | nxopengroup status: 1 |
|---|
| 1486 | |
|---|
| 1487 | nxopengroup status: 1 |
|---|
| 1488 | |
|---|
| 1489 | nxgetgroupid status: 1 |
|---|
| 1490 | groupid handle: 1 |
|---|
| 1491 | |
|---|
| 1492 | nxclosegroup status: 1 |
|---|
| 1493 | |
|---|
| 1494 | nxopengroup status: 1 |
|---|
| 1495 | |
|---|
| 1496 | nxopendata status: 1 |
|---|
| 1497 | |
|---|
| 1498 | nxgetdataid status: 1 |
|---|
| 1499 | nxclosedata status: 1 |
|---|
| 1500 | nxclosegroup status: 1 |
|---|
| 1501 | |
|---|
| 1502 | nxopendata status: 1 |
|---|
| 1503 | |
|---|
| 1504 | nxgetdataid status: 1 |
|---|
| 1505 | nxclosedata status: 1 |
|---|
| 1506 | debug |
|---|
| 1507 | nxsamid status: 1 |
|---|
| 1508 | Data id: Link check succesfull |
|---|
| 1509 | nxclosegroup status: 1 |
|---|
| 1510 | |
|---|
| 1511 | nxopengroup status: 1 |
|---|
| 1512 | |
|---|
| 1513 | nxopengroup status: 1 |
|---|
| 1514 | |
|---|
| 1515 | nxgetgroupid status: 1 |
|---|
| 1516 | |
|---|
| 1517 | Group Id: Link check succesfull |
|---|
| 1518 | nxclosegroup status: 1 |
|---|
| 1519 | |
|---|
| 1520 | nxopengroup status: 1 |
|---|
| 1521 | |
|---|
| 1522 | nxgetgroupid status: 1 |
|---|
| 1523 | |
|---|
| 1524 | Group Id Named: Link check succesfull |
|---|
| 1525 | |
|---|
| 1526 | nxclosegroup status: 1 |
|---|
| 1527 | |
|---|
| 1528 | nxopendata status: 1 |
|---|
| 1529 | |
|---|
| 1530 | nxgetdataid status: 1 |
|---|
| 1531 | Data Id Named: Link check succesfull |
|---|
| 1532 | nxclosedata status: 1 |
|---|
| 1533 | Openpath succesfull (/entry/data/comp_data) |
|---|
| 1534 | Openpath on a relative path (../r8_data) succesfull |
|---|
| 1535 | nxclose status: 1 |
|---|
| 1536 | finished napi test |
|---|
| 1537 | ]]) |
|---|
| 1538 | AT_CLEANUP |
|---|
| 1539 | AT_SETUP([Checking IDL binding using XML]) |
|---|
| 1540 | AT_CHECK([$HAVE_XML && $HAVE_IDL && $SETUP_TEST && $SHELL $abs_srcdir/../bindings/idl/testidlnapi "'xml'" | sed -e 's/\r$//' ],[], |
|---|
| 1541 | [['xml' |
|---|
| 1542 | NeXus IDL Api Write test |
|---|
| 1543 | Using XML |
|---|
| 1544 | % Loaded DLM: NEXUSIDL-API. |
|---|
| 1545 | nxopen status: 1 |
|---|
| 1546 | nxsetnumberformat status: 1 |
|---|
| 1547 | nxmakegroup status: 1 |
|---|
| 1548 | nxopengroup status: 1 |
|---|
| 1549 | nxputattr status: 1 |
|---|
| 1550 | nxputattr status: 1 |
|---|
| 1551 | nxmakedata status: 1 |
|---|
| 1552 | opendata status: 1 |
|---|
| 1553 | nxputdata status: 1 |
|---|
| 1554 | nxclosedata status: 1 |
|---|
| 1555 | nxmakedata status: 1 |
|---|
| 1556 | opendata status: 1 |
|---|
| 1557 | nxputdata status: 1 |
|---|
| 1558 | nxclosedata status: 1 |
|---|
| 1559 | nxmakedata status: 1 |
|---|
| 1560 | opendata status: 1 |
|---|
| 1561 | nxputdata status: 1 |
|---|
| 1562 | nxclosedata status: 1 |
|---|
| 1563 | nxmakedata status: 1 |
|---|
| 1564 | opendata status: 1 |
|---|
| 1565 | nxputdata status: 1 |
|---|
| 1566 | nxclosedata status: 1 |
|---|
| 1567 | nxmakedata status: 1 |
|---|
| 1568 | opendata status: 1 |
|---|
| 1569 | nxputslab status: 1 |
|---|
| 1570 | nxputattr status : 1 |
|---|
| 1571 | nxputattr status : 1 |
|---|
| 1572 | nxputattr status : 1 |
|---|
| 1573 | nxgetdataid status: 1 |
|---|
| 1574 | nxclosedata status: 1 |
|---|
| 1575 | nxmakegroup status: 1 |
|---|
| 1576 | nxopengroup status: 1 |
|---|
| 1577 | nxmakelink status: 1 |
|---|
| 1578 | nxmakecompdata status: 1 |
|---|
| 1579 | opendata status: 1 |
|---|
| 1580 | nxputdata status: 1 |
|---|
| 1581 | nxclosedata status: 1 |
|---|
| 1582 | nxflush status: 1 |
|---|
| 1583 | nxmakedata status: 1 |
|---|
| 1584 | opendata status: 1 |
|---|
| 1585 | nxputslab 1 status: 1 |
|---|
| 1586 | nxflush status: 1 |
|---|
| 1587 | opendata status: 1 |
|---|
| 1588 | nxputslab 2 status: 1 |
|---|
| 1589 | nxflush status: 1 |
|---|
| 1590 | opendata status: 1 |
|---|
| 1591 | nxputslab 3 status: 1 |
|---|
| 1592 | nxflush status: 1 |
|---|
| 1593 | opendata status: 1 |
|---|
| 1594 | nxputslab 4 status: 1 |
|---|
| 1595 | nxflush status: 1 |
|---|
| 1596 | opendata status: 1 |
|---|
| 1597 | nxputslab 5 status: 1 |
|---|
| 1598 | nxflush status: 1 |
|---|
| 1599 | opendata status: 1 |
|---|
| 1600 | nxputslab 6 status: 1 |
|---|
| 1601 | nxflush status: 1 |
|---|
| 1602 | opendata status: 1 |
|---|
| 1603 | nxputslab 7 status: 1 |
|---|
| 1604 | nxflush status: 1 |
|---|
| 1605 | nxclosegroup status: 1 |
|---|
| 1606 | nxmakegroup status: 1 |
|---|
| 1607 | nxopengroup status: 1 |
|---|
| 1608 | nxmakedata status: 1 |
|---|
| 1609 | opendata status: 1 |
|---|
| 1610 | nxputdata status: 1 |
|---|
| 1611 | nxclosedata status: 1 |
|---|
| 1612 | nxgetgroupid status: 1 |
|---|
| 1613 | groupid handle: 2 |
|---|
| 1614 | nxclosegroup status: 1 |
|---|
| 1615 | nxclosegroup status: 1 |
|---|
| 1616 | nxmakegroup status: 1 |
|---|
| 1617 | nxopengroup status: 1 |
|---|
| 1618 | nxmakelink status: 1 |
|---|
| 1619 | groupid handle 2 |
|---|
| 1620 | nxmakenamedlink status : 1 |
|---|
| 1621 | dataid handle 1 |
|---|
| 1622 | nxmakenamedlink status : 1 |
|---|
| 1623 | nxclosegroup status: 1 |
|---|
| 1624 | nxclose status: 1 |
|---|
| 1625 | |
|---|
| 1626 | #################### Test external linking ###################### |
|---|
| 1627 | |
|---|
| 1628 | nxopen status: 1 |
|---|
| 1629 | nxmakegroup status: 1 |
|---|
| 1630 | nxlinkexternal: 1 |
|---|
| 1631 | nxmakegroup status: 1 |
|---|
| 1632 | nxlinkexternal: 1 |
|---|
| 1633 | nxclose status: 1 |
|---|
| 1634 | nxopen status: 1 |
|---|
| 1635 | nxopenpath status 1 |
|---|
| 1636 | |
|---|
| 1637 | nxget data status: 1 |
|---|
| 1638 | First file time : |
|---|
| 1639 | 2005-05-27 05:44:13 |
|---|
| 1640 | |
|---|
| 1641 | nxinquirefile status: 1 |
|---|
| 1642 | current file: data/dmc01.xml |
|---|
| 1643 | nxopenpath status 1 |
|---|
| 1644 | nxget data status: 1 |
|---|
| 1645 | Second file sample : |
|---|
| 1646 | Ga0.94Mn0.04Sb_8mm |
|---|
| 1647 | |
|---|
| 1648 | nxinquirefile status: 1 |
|---|
| 1649 | current file: data/dmc01.xml |
|---|
| 1650 | nxopenpath status 1 |
|---|
| 1651 | nxget data status: 1 |
|---|
| 1652 | Second file time : |
|---|
| 1653 | 2005-05-27 05:44:13 |
|---|
| 1654 | |
|---|
| 1655 | nxisexternalgroup status 1 |
|---|
| 1656 | entry1 external URL = |
|---|
| 1657 | nxclose status: 1 |
|---|
| 1658 | % Compiled module: READ_TEST. |
|---|
| 1659 | Opening file: NXtest.xml |
|---|
| 1660 | nxopen status: 1 |
|---|
| 1661 | nxinquirefile status: 1 |
|---|
| 1662 | nxinquirefile found: NXtest.xml |
|---|
| 1663 | nxgetattrinfo status: 1 |
|---|
| 1664 | Number of global attributes: 7 |
|---|
| 1665 | |
|---|
| 1666 | NXgetnextattr status: 1 |
|---|
| 1667 | |
|---|
| 1668 | attribute name: NeXus_version |
|---|
| 1669 | attribute value: 4.3.0 |
|---|
| 1670 | |
|---|
| 1671 | NXgetnextattr status: 1 |
|---|
| 1672 | |
|---|
| 1673 | attribute name: XML_version |
|---|
| 1674 | attribute value: mxml |
|---|
| 1675 | |
|---|
| 1676 | NXgetnextattr status: 1 |
|---|
| 1677 | |
|---|
| 1678 | attribute name: file_name |
|---|
| 1679 | attribute value: NXtest.xml |
|---|
| 1680 | |
|---|
| 1681 | NXgetnextattr status: 1 |
|---|
| 1682 | |
|---|
| 1683 | attribute name: xmlns |
|---|
| 1684 | attribute value: http://definition.nexusformat.org/schema/3.1 |
|---|
| 1685 | |
|---|
| 1686 | NXgetnextattr status: 1 |
|---|
| 1687 | |
|---|
| 1688 | attribute name: xmlns:xsi |
|---|
| 1689 | attribute value: http://www.w3.org/2001/XMLSchema-instance |
|---|
| 1690 | |
|---|
| 1691 | NXgetnextattr status: 1 |
|---|
| 1692 | |
|---|
| 1693 | attribute name: xsi:schemaLocation |
|---|
| 1694 | attribute value: http://definition.nexusformat.org/schema/3.1 http://definition.nexusformat.org/schema/3.0/BASE.xsd |
|---|
| 1695 | |
|---|
| 1696 | NXgetnextattr status: 1 |
|---|
| 1697 | |
|---|
| 1698 | |
|---|
| 1699 | NXgetnextattr status: -1 |
|---|
| 1700 | |
|---|
| 1701 | nxopengroup status: 1 |
|---|
| 1702 | nxgetattrinfo status: 1 |
|---|
| 1703 | Number of group attributes: 2 |
|---|
| 1704 | NXgetnextattr status: 1 |
|---|
| 1705 | nxgetattr status 1 |
|---|
| 1706 | attribute name: hugo |
|---|
| 1707 | attrubute lenght: 8 |
|---|
| 1708 | attribute type: 4 |
|---|
| 1709 | attribute value: namenlos |
|---|
| 1710 | |
|---|
| 1711 | NXgetnextattr status: 1 |
|---|
| 1712 | nxgetattr status 1 |
|---|
| 1713 | attribute name: cucumber |
|---|
| 1714 | attrubute lenght: 7 |
|---|
| 1715 | attribute type: 4 |
|---|
| 1716 | attribute value: passion |
|---|
| 1717 | |
|---|
| 1718 | NXgetnextattr status: -1 |
|---|
| 1719 | nxgetgroupinfo status 1 |
|---|
| 1720 | current group name: entry |
|---|
| 1721 | current group class: NXentry |
|---|
| 1722 | number of items in group: 7 |
|---|
| 1723 | |
|---|
| 1724 | nxgetnextentry status: 1 |
|---|
| 1725 | nxgetnextentry name: ch_data |
|---|
| 1726 | nxgetnextentry class: SDS |
|---|
| 1727 | nxgetnextentry data_type 4 |
|---|
| 1728 | |
|---|
| 1729 | opening data: ch_data |
|---|
| 1730 | nxopendata status: 1 |
|---|
| 1731 | |
|---|
| 1732 | nxgetinfo Status: 1 |
|---|
| 1733 | Rank: 1 |
|---|
| 1734 | Dim [ 0]: 10 |
|---|
| 1735 | Data Type: 4 |
|---|
| 1736 | |
|---|
| 1737 | nxget data status: 1 |
|---|
| 1738 | data : |
|---|
| 1739 | NeXus Data |
|---|
| 1740 | |
|---|
| 1741 | nxgetattrinfo status: 1 |
|---|
| 1742 | Number of group attributes: 0 |
|---|
| 1743 | nxgetnextattr status: -1 |
|---|
| 1744 | nxclosedata status: 1 |
|---|
| 1745 | nxgetnextentry status: 1 |
|---|
| 1746 | nxgetnextentry name: i1_data |
|---|
| 1747 | nxgetnextentry class: SDS |
|---|
| 1748 | nxgetnextentry data_type 21 |
|---|
| 1749 | |
|---|
| 1750 | opening data: i1_data |
|---|
| 1751 | nxopendata status: 1 |
|---|
| 1752 | |
|---|
| 1753 | nxgetinfo Status: 1 |
|---|
| 1754 | Rank: 2 |
|---|
| 1755 | Dim [ 0]: 4 |
|---|
| 1756 | Dim [ 1]: 4 |
|---|
| 1757 | Data Type: 21 |
|---|
| 1758 | |
|---|
| 1759 | nxgetslab status: 1 |
|---|
| 1760 | data : |
|---|
| 1761 | 0 4 8 12 |
|---|
| 1762 | |
|---|
| 1763 | nxgetslab status: 1 |
|---|
| 1764 | data : |
|---|
| 1765 | 1 5 9 13 |
|---|
| 1766 | |
|---|
| 1767 | nxgetslab status: 1 |
|---|
| 1768 | data : |
|---|
| 1769 | 2 6 10 14 |
|---|
| 1770 | |
|---|
| 1771 | nxgetslab status: 1 |
|---|
| 1772 | data : |
|---|
| 1773 | 4 7 11 15 |
|---|
| 1774 | |
|---|
| 1775 | nxgetattrinfo status: 1 |
|---|
| 1776 | Number of group attributes: 0 |
|---|
| 1777 | nxgetnextattr status: -1 |
|---|
| 1778 | nxclosedata status: 1 |
|---|
| 1779 | nxgetnextentry status: 1 |
|---|
| 1780 | nxgetnextentry name: i4_data |
|---|
| 1781 | nxgetnextentry class: SDS |
|---|
| 1782 | nxgetnextentry data_type 24 |
|---|
| 1783 | |
|---|
| 1784 | opening data: i4_data |
|---|
| 1785 | nxopendata status: 1 |
|---|
| 1786 | |
|---|
| 1787 | nxgetinfo Status: 1 |
|---|
| 1788 | Rank: 2 |
|---|
| 1789 | Dim [ 0]: 4 |
|---|
| 1790 | Dim [ 1]: 4 |
|---|
| 1791 | Data Type: 24 |
|---|
| 1792 | |
|---|
| 1793 | nxgetslab status: 1 |
|---|
| 1794 | data : |
|---|
| 1795 | 0 4 8 12 |
|---|
| 1796 | |
|---|
| 1797 | nxgetslab status: 1 |
|---|
| 1798 | data : |
|---|
| 1799 | 1 5 9 13 |
|---|
| 1800 | |
|---|
| 1801 | nxgetslab status: 1 |
|---|
| 1802 | data : |
|---|
| 1803 | 2 6 10 14 |
|---|
| 1804 | |
|---|
| 1805 | nxgetslab status: 1 |
|---|
| 1806 | data : |
|---|
| 1807 | 3 7 11 15 |
|---|
| 1808 | |
|---|
| 1809 | nxgetattrinfo status: 1 |
|---|
| 1810 | Number of group attributes: 0 |
|---|
| 1811 | nxgetnextattr status: -1 |
|---|
| 1812 | nxclosedata status: 1 |
|---|
| 1813 | nxgetnextentry status: 1 |
|---|
| 1814 | nxgetnextentry name: r4_data |
|---|
| 1815 | nxgetnextentry class: SDS |
|---|
| 1816 | nxgetnextentry data_type 5 |
|---|
| 1817 | |
|---|
| 1818 | opening data: r4_data |
|---|
| 1819 | nxopendata status: 1 |
|---|
| 1820 | |
|---|
| 1821 | nxgetinfo Status: 1 |
|---|
| 1822 | Rank: 2 |
|---|
| 1823 | Dim [ 0]: 4 |
|---|
| 1824 | Dim [ 1]: 4 |
|---|
| 1825 | Data Type: 5 |
|---|
| 1826 | |
|---|
| 1827 | nxgetslab status: 1 |
|---|
| 1828 | data : |
|---|
| 1829 | 0.0110000 0.344000 0.667000 -12.2000 |
|---|
| 1830 | |
|---|
| 1831 | nxgetslab status: 1 |
|---|
| 1832 | data : |
|---|
| 1833 | 0.0210000 0.556000 1.00000 -13.4440 |
|---|
| 1834 | |
|---|
| 1835 | nxgetslab status: 1 |
|---|
| 1836 | data : |
|---|
| 1837 | 0.233000 0.667000 10.1000 -14.2220 |
|---|
| 1838 | |
|---|
| 1839 | nxgetslab status: 1 |
|---|
| 1840 | data : |
|---|
| 1841 | 0.344000 0.778000 11.2220 -15.4440 |
|---|
| 1842 | |
|---|
| 1843 | nxgetattrinfo status: 1 |
|---|
| 1844 | Number of group attributes: 0 |
|---|
| 1845 | nxgetnextattr status: -1 |
|---|
| 1846 | nxclosedata status: 1 |
|---|
| 1847 | nxgetnextentry status: 1 |
|---|
| 1848 | nxgetnextentry name: r8_data |
|---|
| 1849 | nxgetnextentry class: SDS |
|---|
| 1850 | nxgetnextentry data_type 6 |
|---|
| 1851 | |
|---|
| 1852 | opening data: r8_data |
|---|
| 1853 | nxopendata status: 1 |
|---|
| 1854 | |
|---|
| 1855 | nxgetinfo Status: 1 |
|---|
| 1856 | Rank: 2 |
|---|
| 1857 | Dim [ 0]: 4 |
|---|
| 1858 | Dim [ 1]: 4 |
|---|
| 1859 | Data Type: 6 |
|---|
| 1860 | |
|---|
| 1861 | nxgetslab status: 1 |
|---|
| 1862 | data : |
|---|
| 1863 | 0.0000000 0.0000000 0.0000000 0.0000000 |
|---|
| 1864 | |
|---|
| 1865 | nxgetslab status: 1 |
|---|
| 1866 | data : |
|---|
| 1867 | 0.0000000 0.0000000 0.0000000 0.0000000 |
|---|
| 1868 | |
|---|
| 1869 | nxgetslab status: 1 |
|---|
| 1870 | data : |
|---|
| 1871 | 0.011110000 0.021220000 0.23333000 0.34444000 |
|---|
| 1872 | |
|---|
| 1873 | nxgetslab status: 1 |
|---|
| 1874 | data : |
|---|
| 1875 | 0.0000000 0.0000000 0.0000000 0.0000000 |
|---|
| 1876 | |
|---|
| 1877 | nxgetattrinfo status: 1 |
|---|
| 1878 | Number of group attributes: 4 |
|---|
| 1879 | Number of global attributes: 4 |
|---|
| 1880 | nxgetnextattr status: 1 |
|---|
| 1881 | nxgetattr status 1 |
|---|
| 1882 | attribute name: ch_attribute |
|---|
| 1883 | attribute value: NeXus |
|---|
| 1884 | |
|---|
| 1885 | nxgetnextattr status: 1 |
|---|
| 1886 | nxgetattr status 1 |
|---|
| 1887 | attribute name: i4_attribute |
|---|
| 1888 | attribute value: 42 |
|---|
| 1889 | |
|---|
| 1890 | nxgetnextattr status: 1 |
|---|
| 1891 | nxgetattr status 1 |
|---|
| 1892 | attribute name: r4_attribute |
|---|
| 1893 | attribute value: 3.14159 |
|---|
| 1894 | |
|---|
| 1895 | nxgetnextattr status: 1 |
|---|
| 1896 | nxgetattr status 1 |
|---|
| 1897 | attribute name: target |
|---|
| 1898 | attribute value: /entry/r8_data |
|---|
| 1899 | |
|---|
| 1900 | nxgetnextattr status: -1 |
|---|
| 1901 | nxclosedata status: 1 |
|---|
| 1902 | nxgetnextentry status: 1 |
|---|
| 1903 | nxgetnextentry name: data |
|---|
| 1904 | nxgetnextentry class: NXdata |
|---|
| 1905 | nxgetnextentry data_type 0 |
|---|
| 1906 | |
|---|
| 1907 | nxgetnextentry status: 1 |
|---|
| 1908 | nxgetnextentry name: sample |
|---|
| 1909 | nxgetnextentry class: NXsample |
|---|
| 1910 | nxgetnextentry data_type 0 |
|---|
| 1911 | |
|---|
| 1912 | nxgetnextentry status: -1 |
|---|
| 1913 | nxclosegroup status: 1 |
|---|
| 1914 | |
|---|
| 1915 | ####################### Checking Links ########################### |
|---|
| 1916 | |
|---|
| 1917 | nxopengroup status: 1 |
|---|
| 1918 | |
|---|
| 1919 | nxopengroup status: 1 |
|---|
| 1920 | |
|---|
| 1921 | nxgetgroupid status: 1 |
|---|
| 1922 | groupid handle: 1 |
|---|
| 1923 | |
|---|
| 1924 | nxclosegroup status: 1 |
|---|
| 1925 | |
|---|
| 1926 | nxopengroup status: 1 |
|---|
| 1927 | |
|---|
| 1928 | nxopendata status: 1 |
|---|
| 1929 | |
|---|
| 1930 | nxgetdataid status: 1 |
|---|
| 1931 | nxclosedata status: 1 |
|---|
| 1932 | nxclosegroup status: 1 |
|---|
| 1933 | |
|---|
| 1934 | nxopendata status: 1 |
|---|
| 1935 | |
|---|
| 1936 | nxgetdataid status: 1 |
|---|
| 1937 | nxclosedata status: 1 |
|---|
| 1938 | debug |
|---|
| 1939 | nxsamid status: 1 |
|---|
| 1940 | Data id: Link check succesfull |
|---|
| 1941 | nxclosegroup status: 1 |
|---|
| 1942 | |
|---|
| 1943 | nxopengroup status: 1 |
|---|
| 1944 | |
|---|
| 1945 | nxopengroup status: 1 |
|---|
| 1946 | |
|---|
| 1947 | nxgetgroupid status: 1 |
|---|
| 1948 | |
|---|
| 1949 | Group Id: Link check succesfull |
|---|
| 1950 | nxclosegroup status: 1 |
|---|
| 1951 | |
|---|
| 1952 | nxopengroup status: 1 |
|---|
| 1953 | |
|---|
| 1954 | nxgetgroupid status: 1 |
|---|
| 1955 | |
|---|
| 1956 | Group Id Named: Link check succesfull |
|---|
| 1957 | |
|---|
| 1958 | nxclosegroup status: 1 |
|---|
| 1959 | |
|---|
| 1960 | nxopendata status: 1 |
|---|
| 1961 | |
|---|
| 1962 | nxgetdataid status: 1 |
|---|
| 1963 | Data Id Named: Link check succesfull |
|---|
| 1964 | nxclosedata status: 1 |
|---|
| 1965 | Openpath succesfull (/entry/data/comp_data) |
|---|
| 1966 | Openpath on a relative path (../r8_data) succesfull |
|---|
| 1967 | nxclose status: 1 |
|---|
| 1968 | finished napi test |
|---|
| 1969 | ]]) |
|---|
| 1970 | AT_CLEANUP |
|---|
| 1971 | |
|---|
| 1972 | AT_BANNER([[Testing the NeXus File Converter.]]) |
|---|
| 1973 | AT_SETUP([Checking nxconvert HDF4 -> HDF4 ]) |
|---|
| 1974 | AT_CHECK([$HAVE_HDF4 && nxconvert --hdf 4 NXtest.hdf a.a | sed -e 's/\r$//' ],[], |
|---|
| 1975 | [[Converting NXtest.hdf to HDF4 NeXus file a.a |
|---|
| 1976 | Convertion successful. |
|---|
| 1977 | ]]) |
|---|
| 1978 | AT_CLEANUP |
|---|
| 1979 | AT_SETUP([Checking nxconvert HDF4 -> HDF5 ]) |
|---|
| 1980 | AT_CHECK([$HAVE_HDF4 && $HAVE_HDF5 && nxconvert --hdf 5 NXtest.hdf a.a | sed -e 's/\r$//' ],[], |
|---|
| 1981 | [[Converting NXtest.hdf to HDF5 NeXus file a.a |
|---|
| 1982 | Convertion successful. |
|---|
| 1983 | ]]) |
|---|
| 1984 | AT_CLEANUP |
|---|
| 1985 | AT_SETUP([Checking nxconvert HDF4 -> XML ]) |
|---|
| 1986 | AT_CHECK([$HAVE_HDF4 && $HAVE_XML && nxconvert -x NXtest.hdf a.a | sed -e 's/\r$//' ],[], |
|---|
| 1987 | [[Converting NXtest.hdf to XML NeXus file a.a |
|---|
| 1988 | Convertion successful. |
|---|
| 1989 | ]]) |
|---|
| 1990 | AT_CLEANUP |
|---|
| 1991 | #AT_SETUP([Checking nxconvert HDF5 -> HDF4 ]) |
|---|
| 1992 | #AT_CHECK([$HAVE_HDF5 && $HAVE_HDF4 && nxconvert --hdf 4 NXtest.h5 a.a | sed -e 's/\r$//' ],[], |
|---|
| 1993 | #[[Converting NXtest.h5 to HDF4 NeXus file a.a |
|---|
| 1994 | #Convertion successful. |
|---|
| 1995 | #]]) |
|---|
| 1996 | #AT_CLEANUP |
|---|
| 1997 | AT_SETUP([Checking nxconvert HDF5 -> HDF5 ]) |
|---|
| 1998 | AT_CHECK([$HAVE_HDF5 && nxconvert --hdf 5 NXtest.h5 a.a | sed -e 's/\r$//' ],[], |
|---|
| 1999 | [[Converting NXtest.h5 to HDF5 NeXus file a.a |
|---|
| 2000 | Convertion successful. |
|---|
| 2001 | ]]) |
|---|
| 2002 | AT_CLEANUP |
|---|
| 2003 | AT_SETUP([Checking nxconvert HDF5 -> XML ]) |
|---|
| 2004 | AT_CHECK([$HAVE_HDF5 && $HAVE_XML && nxconvert -x NXtest.h5 a.a | sed -e 's/\r$//' ],[], |
|---|
| 2005 | [[Converting NXtest.h5 to XML NeXus file a.a |
|---|
| 2006 | Convertion successful. |
|---|
| 2007 | ]]) |
|---|
| 2008 | AT_CLEANUP |
|---|
| 2009 | #AT_SETUP([Checking nxconvert XML -> HDF4 ]) |
|---|
| 2010 | #AT_CHECK([$HAVE_XML && $HAVE_HDF4 && nxconvert --hdf 4 NXtest.xml a.a | sed -e 's/\r$//' ],[], |
|---|
| 2011 | #[[Converting NXtest.xml to HDF4 NeXus file a.a |
|---|
| 2012 | #Convertion successful. |
|---|
| 2013 | #]]) |
|---|
| 2014 | #AT_CLEANUP |
|---|
| 2015 | AT_SETUP([Checking nxconvert XML -> HDF5 ]) |
|---|
| 2016 | AT_CHECK([$HAVE_XML && $HAVE_HDF5 && nxconvert --hdf 5 NXtest.xml a.a | sed -e 's/\r$//' ],[], |
|---|
| 2017 | [[Converting NXtest.xml to HDF5 NeXus file a.a |
|---|
| 2018 | Convertion successful. |
|---|
| 2019 | ]]) |
|---|
| 2020 | AT_CLEANUP |
|---|
| 2021 | AT_SETUP([Checking nxconvert XML -> XML ]) |
|---|
| 2022 | AT_CHECK([$HAVE_XML && nxconvert -x NXtest.xml a.a | sed -e 's/\r$//' ],[], |
|---|
| 2023 | [[Converting NXtest.xml to XML NeXus file a.a |
|---|
| 2024 | Convertion successful. |
|---|
| 2025 | ]]) |
|---|
| 2026 | AT_CLEANUP |
|---|
| 2027 | |
|---|
| 2028 | AT_BANNER([[Testing NXsummary Tool.]]) |
|---|
| 2029 | AT_SETUP([Checking nxsummary HDF4 test file]) |
|---|
| 2030 | AT_CHECK([$HAVE_HDF4 && $HAVE_NXSUMMARY && nxsummary --config NONE NXtest.hdf | sed -e 's/\r$//' ],[], |
|---|
| 2031 | [[SAMPLE: |
|---|
| 2032 | ]]) |
|---|
| 2033 | AT_CLEANUP |
|---|
| 2034 | AT_SETUP([Checking nxsummary HDF5 test file]) |
|---|
| 2035 | AT_CHECK([$HAVE_HDF5 && $HAVE_NXSUMMARY && nxsummary --config NONE NXtest.h5 | sed -e 's/\r$//' ],[], |
|---|
| 2036 | [[SAMPLE: |
|---|
| 2037 | ]]) |
|---|
| 2038 | AT_CLEANUP |
|---|
| 2039 | AT_SETUP([Checking nxsummary XML test file]) |
|---|
| 2040 | AT_CHECK([$HAVE_XML && $HAVE_NXSUMMARY && nxsummary --config NONE NXtest.xml | sed -e 's/\r$//' ],[], |
|---|
| 2041 | [[SAMPLE: |
|---|
| 2042 | ]]) |
|---|
| 2043 | AT_CLEANUP |
|---|
| 2044 | |
|---|
| 2045 | AT_BANNER([[Testing NXbrowse Tool.]]) |
|---|
| 2046 | AT_SETUP([Checking nxbrowse HDF4 test file]) |
|---|
| 2047 | AT_CHECK([$HAVE_HDF4 && env NO_READLINE=1 nxbrowse NXtest.hdf < ${abs_srcdir}/nxbrowse.txt | grep -v 'HDF_version = ' | grep -v 'file_time = ' | grep -v 'readline support' | sed -e 's/\r$//' | sed -e 's/[ ]*$//' ],[], |
|---|
| 2048 | [[NXBrowse 4.3.0 Copyright (C) 2009 NeXus Data Format |
|---|
| 2049 | NeXus_version = 4.3.0 |
|---|
| 2050 | file_name = NXtest.hdf |
|---|
| 2051 | NX> NX Group : entry (NXentry) |
|---|
| 2052 | entry attribute: hugo = namenlos |
|---|
| 2053 | entry attribute: cucumber = passion |
|---|
| 2054 | NX Group : link (NXentry) |
|---|
| 2055 | NX> |
|---|
| 2056 | ]]) |
|---|
| 2057 | AT_CLEANUP |
|---|
| 2058 | AT_SETUP([Checking nxbrowse HDF5 test file]) |
|---|
| 2059 | AT_CHECK([$HAVE_HDF5 && env NO_READLINE=1 nxbrowse NXtest.h5 < ${abs_srcdir}/nxbrowse.txt | grep -v 'HDF5_Version = ' | grep -v 'file_time = ' | grep -v 'readline support' | sed -e 's/\r$//' | sed -e 's/[ ]*$//' ],[], |
|---|
| 2060 | [[NXBrowse 4.3.0 Copyright (C) 2009 NeXus Data Format |
|---|
| 2061 | NeXus_version = 4.3.0 |
|---|
| 2062 | file_name = NXtest.h5 |
|---|
| 2063 | NX> NX Group : entry (NXentry) |
|---|
| 2064 | entry attribute: hugo = namenlos |
|---|
| 2065 | entry attribute: cucumber = passion |
|---|
| 2066 | NX Group : link (NXentry) |
|---|
| 2067 | NX> |
|---|
| 2068 | ]]) |
|---|
| 2069 | AT_CLEANUP |
|---|
| 2070 | AT_SETUP([Checking nxbrowse XML test file]) |
|---|
| 2071 | AT_CHECK([$HAVE_XML && env NO_READLINE=1 nxbrowse NXtest.xml < ${abs_srcdir}/nxbrowse.txt | grep -v 'file_time = ' | grep -v 'XML_version = ' | grep -v 'readline support' | sed -e 's/\r$//' | sed -e 's/[ ]*$//' ],[], |
|---|
| 2072 | [[NXBrowse 4.3.0 Copyright (C) 2009 NeXus Data Format |
|---|
| 2073 | NeXus_version = 4.3.0 |
|---|
| 2074 | file_name = NXtest.xml |
|---|
| 2075 | xmlns = http://definition.nexusformat.org/schema/3.1 |
|---|
| 2076 | xmlns:xsi = http://www.w3.org/2001/XMLSchema-instance |
|---|
| 2077 | xsi:schemaLocation = http://definition.nexusformat.org/schema/3.1 http://definition.nexusformat.org/schema/3.1/BASE.xsd |
|---|
| 2078 | NX> NX Group : entry (NXentry) |
|---|
| 2079 | entry attribute: hugo = namenlos |
|---|
| 2080 | entry attribute: cucumber = passion |
|---|
| 2081 | NX Group : link (NXentry) |
|---|
| 2082 | NX> |
|---|
| 2083 | ]]) |
|---|
| 2084 | AT_CLEANUP |
|---|
| 2085 | |
|---|
| 2086 | AT_BANNER([[Testing NXdir Tool.]]) |
|---|
| 2087 | AT_SETUP([Checking nxdir HDF4 test file]) |
|---|
| 2088 | AT_CHECK([$HAVE_HDF4 && nxdir NXtest.hdf | sed -e 's/\r$//' ],[], |
|---|
| 2089 | [[/entry/ |
|---|
| 2090 | /link/ |
|---|
| 2091 | ]]) |
|---|
| 2092 | AT_CLEANUP |
|---|
| 2093 | AT_SETUP([Checking nxdir HDF5 test file]) |
|---|
| 2094 | AT_CHECK([$HAVE_HDF5 && nxdir NXtest.h5 | sed -e 's/\r$//' ],[], |
|---|
| 2095 | [[/entry/ |
|---|
| 2096 | /link/ |
|---|
| 2097 | ]]) |
|---|
| 2098 | AT_CLEANUP |
|---|
| 2099 | AT_SETUP([Checking nxdir XML test file]) |
|---|
| 2100 | AT_CHECK([$HAVE_XML && nxdir NXtest.xml | sed -e 's/\r$//' ],[], |
|---|
| 2101 | [[/entry/ |
|---|
| 2102 | /link/ |
|---|
| 2103 | ]]) |
|---|
| 2104 | AT_CLEANUP |
|---|
| 2105 | |
|---|
| 2106 | |
|---|
| 2107 | dnl AT_BANNER([[Testing validating files with the nxvalidate tool.]]) |
|---|
| 2108 | dnl AT_SETUP([Checking HDF4 test file via web (wget)]) |
|---|
| 2109 | dnl AT_CHECK([$HAVE_HDF4 && $HAVE_WGET && $SETUP_TEST && napi_test-hdf4 -q && nxvalidate -q -w NXtest.hdf | sed -e 's/\r$//' ],[], |
|---|
| 2110 | dnl |
|---|
| 2111 | dnl AT_CLEANUP |
|---|
| 2112 | dnl AT_SETUP([Checking HDF5 test file via web (wget)]) |
|---|
| 2113 | dnl AT_CHECK([$HAVE_HDF4 && $HAVE_WGET && $SETUP_TEST && napi_test-hdf5 -q && nxvalidate -q -w NXtest.h5 | sed -e 's/\r$//' ],[], |
|---|
| 2114 | dnl |
|---|
| 2115 | dnl AT_CLEANUP |
|---|
| 2116 | dnl AT_SETUP([Checking XML test file via web (wget)]) |
|---|
| 2117 | dnl AT_CHECK([$HAVE_HDF4 && $HAVE_WGET && $SETUP_TEST && napi_test-xml -q && nxvalidate -q -w NXtest.xml | sed -e 's/\r$//' ],[], |
|---|
| 2118 | dnl |
|---|
| 2119 | dnl AT_CLEANUP |
|---|