Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: Tests

on:
# pull_request:
pull_request:
push:
branches:
- master
Expand Down
32 changes: 5 additions & 27 deletions test/gmtest.in
Original file line number Diff line number Diff line change
Expand Up @@ -104,34 +104,12 @@ function psldemo()
}

# Must have wrappers for all test programs not part of GMT distro:

for apiprog in \
testapi_columns \
testapi_cube \
testapi_makecpt \
testapi_matrix \
testapi_matrix_pad \
testapi_matrix_plot \
testapi_mixmatrix \
testapi_userdataset \
testapi_usergrid \
testapi_uservectors \
testapi_vector \
testapiconv \
testgrdio \
testapi_imageshading \
testapi_matrix_as_grid \
testapi_vector_strings \
testapi_vector_plot \
testapi_vector_io \
testapi_matrix_io \
testapi_matrix_360 \
testapi_matrix_360_ref \
testapi_grid2matrix \
testapi_putvector \
testapi_spatial
do
# assuming that all test programs start with test*.
for apiprog in $(ls @GMT_BINARY_DIR@/src/test*); do
apiprog=$(basename $apiprog)
eval "${apiprog}() { valgrind_wrapper \"@GMT_BINARY_DIR@/src/${apiprog}\" \"\$@\"; }"
# export function definitions to subshells
export -f ${apiprog}
done

# export function definitions to subshells
Expand Down