source: trunk/bindings/idl/testidlnapi @ 1822

Revision 1179, 440 bytes checked in by Freddie Akeroyd, 3 years ago (diff)

Final fixes for IDL testsuite. Refs #151.

  • Property svn:executable set to *
Line 
1#!/bin/bash
2IDLTMP=/tmp/nxidl.$$
3test=$1
4echo $test
5idl << EOF > $IDLTMP 2>&1
6print, 'starting napi test'
7write_test, $test
8read_test, $test
9print, 'finished napi test'
10EOF
11# need to remove IDL startup infomation as this is different on each machine
12# also remove file_time as it will be different every time
13sed -n -e '/^NeXus IDL Api Write test/,/^finished napi test/ p' < $IDLTMP | sed -e '/file_time/,/attribute value/ d'
14rm -f $IDLTMP
Note: See TracBrowser for help on using the repository browser.