netcdf-c/ncf345-mytest.sh
2015-11-13 10:49:32 -07:00

17 lines
354 B
Bash
Executable File

#!/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