Skip to content

Commit

Permalink
Update to 4.1.0 Refs #88.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.nexusformat.org/code/trunk@958 ff5d1e40-2be0-497f-93bd-dc18237bd3c7
  • Loading branch information
FreddieAkeroyd authored and Freddie Akeroyd committed Aug 29, 2007
1 parent 46a5835 commit be7a705
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
4 changes: 4 additions & 0 deletions README.versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
To increment the NeXus version you need to:
- change the argument to AC_INIT in configure.ac
- update NEXUS_VERSION in include/napi.h
- change version number printed in test output contained in test/testsuite.at
30 changes: 15 additions & 15 deletions test/testsuite.at
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ AT_SETUP([Check the HDF4 binding])
AT_CHECK([ $HAVE_HDF4 && $SETUP_TEST && napi_test-hdf4 | sed -e 's/\r$//' ], [],
[[NXinquirefile found: NXtest.hdf
Number of global attributes: 4
NeXus_version = 4.0.0
NeXus_version = 4.1.0
file_name = NXtest.hdf
Number of group attributes: 2
hugo = namenlos
Expand Down Expand Up @@ -75,7 +75,7 @@ AT_SETUP([Check the HDF5 binding])
AT_CHECK([ $HAVE_HDF5 && $SETUP_TEST && napi_test-hdf5 | sed -e 's/\r$//' ], [],
[[NXinquirefile found: NXtest.h5
Number of global attributes: 4
NeXus_version = 4.0.0
NeXus_version = 4.1.0
file_name = NXtest.h5
Number of group attributes: 2
hugo = namenlos
Expand Down Expand Up @@ -121,7 +121,7 @@ AT_SETUP([Check the HDF4 binding (static library)])
AT_CHECK([ $HAVE_HDF4 && $SETUP_TEST && napi_test-hdf4-static | sed -e 's/\r$//' ], [],
[[NXinquirefile found: NXtest.hdf
Number of global attributes: 4
NeXus_version = 4.0.0
NeXus_version = 4.1.0
file_name = NXtest.hdf
Number of group attributes: 2
hugo = namenlos
Expand Down Expand Up @@ -166,7 +166,7 @@ AT_SETUP([Check the HDF5 binding (static library)])
AT_CHECK([ $HAVE_HDF5 && $SETUP_TEST && napi_test-hdf5-static | sed -e 's/\r$//' ], [],
[[NXinquirefile found: NXtest.h5
Number of global attributes: 4
NeXus_version = 4.0.0
NeXus_version = 4.1.0
file_name = NXtest.h5
Number of group attributes: 2
hugo = namenlos
Expand Down Expand Up @@ -212,7 +212,7 @@ AT_SETUP([Check the XML binding])
AT_CHECK([ $HAVE_XML && $SETUP_TEST && napi_test-xml | sed -e 's/\r$//' ], [],
[[NXinquirefile found: NXtest.xml
Number of global attributes: 3
NeXus_version = 4.0.0
NeXus_version = 4.1.0
file_name = NXtest.xml
Number of group attributes: 2
hugo = namenlos
Expand Down Expand Up @@ -258,7 +258,7 @@ AT_SETUP([Check the XML binding (static library)])
AT_CHECK([ $HAVE_XML && $SETUP_TEST && napi_test-xml-static | sed -e 's/\r$//' ], [],
[[NXinquirefile found: NXtest.xml
Number of global attributes: 3
NeXus_version = 4.0.0
NeXus_version = 4.1.0
file_name = NXtest.xml
Number of group attributes: 2
hugo = namenlos
Expand Down Expand Up @@ -305,7 +305,7 @@ AT_BANNER([Check the FORTRAN 77 binding.])
AT_SETUP([Check the F77 binding using HDF4.])
AT_CHECK([ $HAVE_F77 && $HAVE_HDF4 && $SETUP_TEST && napif_test-hdf4 | sed -e 's/\r$//' ], [],
[[ Number of global attributes: 4
NeXus_version = 4.0.0
NeXus_version = 4.1.0
file_name = NXtest.nxs
Group: entry(NXentry) contains 8 items
ch_data( 4)
Expand Down Expand Up @@ -341,7 +341,7 @@ AT_CLEANUP
AT_SETUP([Check the F77 binding using HDF5.])
AT_CHECK([ $HAVE_F77 && $HAVE_HDF5 && $SETUP_TEST && napif_test-hdf5 | sed -e 's/\r$//' ], [],
[[ Number of global attributes: 4
NeXus_version = 4.0.0
NeXus_version = 4.1.0
file_name = NXtest.nxs
Group: entry(NXentry) contains 8 items
ch_data( 4)
Expand Down Expand Up @@ -378,7 +378,7 @@ AT_SETUP([Check the F90 binding using HDF5.])
AT_CHECK([ $HAVE_F90 && $HAVE_HDF5 && $SETUP_TEST && NXtest | sed -e 's/\r$//' ], [],
[[Writing character data
Number of global attributes: 4
NeXus_version = 4.0.0
NeXus_version = 4.1.0
file_name = NXtest.nxs
Group: entry(NXentry) contains 8 items
ch_data : NX_CHAR
Expand Down Expand Up @@ -487,8 +487,8 @@ AT_CLEANUP
AT_BANNER([[Testing NXbrowse Tool.]])
AT_SETUP([Checking HDF4 test file])
AT_CHECK([$HAVE_HDF4 && nxbrowse NXtest.hdf < ${abs_srcdir}/nxbrowse.txt | grep -v 'HDF_version = ' | grep -v 'file_time = ' | sed -e 's/\r$//' | sed -e 's/[ ]*$//' ],[],
[[NXBrowse 4.0.0 Copyright (C) 2000 R. Osborn, M. Koennecke, P. Klosowski
NeXus_version = 4.0.0
[[NXBrowse 4.1.0 Copyright (C) 2000 R. Osborn, M. Koennecke, P. Klosowski
NeXus_version = 4.1.0
file_name = NXtest.hdf
NX> NX Group : entry (NXentry)
entry attribute: hugo = namenlos
Expand All @@ -499,8 +499,8 @@ NX>
AT_CLEANUP
AT_SETUP([Checking HDF5 test file])
AT_CHECK([$HAVE_HDF5 && nxbrowse NXtest.h5 < ${abs_srcdir}/nxbrowse.txt | grep -v 'HDF5_Version = ' | grep -v 'file_time = ' | sed -e 's/\r$//' | sed -e 's/[ ]*$//' ],[],
[[NXBrowse 4.0.0 Copyright (C) 2000 R. Osborn, M. Koennecke, P. Klosowski
NeXus_version = 4.0.0
[[NXBrowse 4.1.0 Copyright (C) 2000 R. Osborn, M. Koennecke, P. Klosowski
NeXus_version = 4.1.0
file_name = NXtest.h5
NX> NX Group : entry (NXentry)
entry attribute: hugo = namenlos
Expand All @@ -511,8 +511,8 @@ NX>
AT_CLEANUP
AT_SETUP([Checking XML test file])
AT_CHECK([$HAVE_XML && nxbrowse NXtest.xml < ${abs_srcdir}/nxbrowse.txt | grep -v 'file_time = ' | grep -v 'XML_version = ' | sed -e 's/\r$//' | sed -e 's/[ ]*$//' ],[],
[[NXBrowse 4.0.0 Copyright (C) 2000 R. Osborn, M. Koennecke, P. Klosowski
NeXus_version = 4.0.0
[[NXBrowse 4.1.0 Copyright (C) 2000 R. Osborn, M. Koennecke, P. Klosowski
NeXus_version = 4.1.0
file_name = NXtest.xml
NX> NX Group : entry (NXentry)
entry attribute: hugo = namenlos
Expand Down

0 comments on commit be7a705

Please sign in to comment.