netcdf-c/nc_test/run_pnetcdf_tests.sh.in
Dennis Heimbigner 53890fd3a0 Fix distcheck problems
re: https://github.com/Unidata/netcdf-c/issues/2342
This PR replaces PR https://github.com/Unidata/netcdf-c/pull/2342

This PR extends the distcheck corrections in PR
https://github.com/Unidata/netcdf-c/pull/2342.  That original PR
exposed some errors in the file naming in the plugins and
nczarr_test directories.  This PR corrects those problems and
should be used instead of https://github.com/Unidata/netcdf-c/pull/2342

Ed Hartnett's suggestion about how to install the plugins in the
user specified directory will be addressed in a subsequent PR.
2022-05-09 12:10:53 -06:00

29 lines
648 B
Bash
Executable File

#!/bin/sh
# This script runs some PnetCDF I/O tests
set -x
set -e
echo
echo "Testing file created with PnetCDF is modifiable with netCDF..."
./tst_pnetcdf
echo "Testing file created with PnetCDF works when adding variables..."
./tst_addvar tst_pnetcdf.nc
# We assume a min of at least 2 processors is available
@MPIEXEC@ -n 2 ./tst_parallel2
# These tests work in either serial or parallel builds.
@MPIEXEC@ -n 1 ./t_nc
@MPIEXEC@ -n 1 ./tst_atts3
@MPIEXEC@ -n 1 ./tst_nofill
@MPIEXEC@ -n 1 ./nc_test
@MPIEXEC@ -n 1 ./tst_default_format_pnetcdf
@MPIEXEC@ -n 1 ./tst_small
@MPIEXEC@ -n 1 ./tst_formatx_pnetcdf
@MPIEXEC@ -n 1 ./tst_cdf5format