Skip to content

Commit

Permalink
more testing
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Mar 29, 2024
1 parent c586371 commit 8c8440c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/run_wgrib2_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@

set -e
echo ""
echo "*** Running wgrib2 test"
echo "*** Running wgrib2 tests"

# Just run executable. For some reason it returns 8.
# Just run executable; it returns 8.
echo "*** testing run with no args..."
ls -l ../wgrib2
../wgrib2/wgrib2 > out.txt && exit 1
[ $? -ne 8 ] && exit 2

# Run an inventory on a test file. This does not work.
#echo "*** testing inventory of gdaswave.t00z.wcoast.0p16.f000.grib2..."
#./wgrib2 -inv ../tests/data/gdaswave.t00z.wcoast.0p16.f000.grib2

echo "*** SUCCESS!"
exit 0

0 comments on commit 8c8440c

Please sign in to comment.