| 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 |
|---|
| 2 | IDLTMP=/tmp/nxidl.$$ |
|---|
| 3 | test=$1 |
|---|
| 4 | echo $test |
|---|
| 5 | idl << EOF > $IDLTMP 2>&1 |
|---|
| 6 | print, 'starting napi test' |
|---|
| 7 | write_test, $test |
|---|
| 8 | read_test, $test |
|---|
| 9 | print, 'finished napi test' |
|---|
| 10 | EOF |
|---|
| 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 |
|---|
| 13 | sed -n -e '/^NeXus IDL Api Write test/,/^finished napi test/ p' < $IDLTMP | sed -e '/file_time/,/attribute value/ d' |
|---|
| 14 | rm -f $IDLTMP |
|---|
Note: See
TracBrowser
for help on using the repository browser.