mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-11 16:40:36 +08:00
Merge branch 'NCF-345' into github156
This commit is contained in:
commit
04de3d3fa2
16
ncf345-mytest.sh
Executable file
16
ncf345-mytest.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# git-bisect script for ncf-345. Note you need to put it outside
|
||||
# the netcdf directory or it will disappear when git does its thing.
|
||||
#
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake .. -DENABLE_TESTS=OFF -DBUILD_SHARED_LIBS=OFF
|
||||
make -j 4
|
||||
ncgen/ncgen -b -o ~/Desktop/in.nc ~/Desktop/in.cdl
|
||||
RES=$?
|
||||
rm -f ~/Desktop/in.nc
|
||||
cd ..
|
||||
echo "Exiting: $RES"
|
||||
exit $RES
|
1743
ncgen/ncf345.cdl
Normal file
1743
ncgen/ncf345.cdl
Normal file
File diff suppressed because it is too large
Load Diff
@ -30,6 +30,12 @@ if [ ! -f c5.nc ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "**** creating file to test ncf-345..."
|
||||
./ncgen -b -o ncf345.nc $srcdir/ncf345.cdl
|
||||
if [ ! -f ncf345.nc ]; then
|
||||
echo "Failure."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "*** Test successful!"
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user