Skip to content

Commit

Permalink
trying shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Aug 10, 2024
1 parent 2c79cee commit c3b1265
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2242,6 +2242,7 @@ AC_CONFIG_FILES(dap4_test/findtestserver4.c:ncdap_test/findtestserver.c.in)
AC_CONFIG_FILES(dap4_test/pingurl4.c:ncdap_test/pingurl.c)
AC_CONFIG_FILES([h5_test/run_par_tests.sh], [chmod ugo+x h5_test/run_par_tests.sh])
AC_CONFIG_FILES([nc_test4/run_par_test.sh], [chmod ugo+x nc_test4/run_par_test.sh])
AC_CONFIG_FILES([nc_test4/run_zstd_test.sh], [chmod ugo+x nc_test4/run_zstd_test.sh])
AC_CONFIG_FILES([libsrc4/nc4dispatch.c], [chmod ugo+x nc_test4/run_par_test.sh])
AC_CONFIG_FILES([nc_perf/run_par_bm_test.sh], [chmod ugo+x nc_perf/run_par_bm_test.sh])
AC_CONFIG_FILES([nc_perf/run_gfs_test.sh], [chmod ugo+x nc_perf/run_gfs_test.sh])
Expand Down
1 change: 1 addition & 0 deletions nc_test4/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ ENDIF()

IF(HAVE_ZSTD)
BUILD_BIN_TEST(tst_zstd)
add_sh_test(nc_test4 run_zstd_test)
ENDIF()


Expand Down
18 changes: 18 additions & 0 deletions nc_test4/run_zstd_test.sh.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh

# This .in file is processed at build time into a shell that runs some
# zstd for netCDF.

# Ed Hartnett, 8/10/24

set -e

if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

echo
echo "Testing Zstandard compression..."
echo "SUCCESS!"



0 comments on commit c3b1265

Please sign in to comment.