summaryrefslogtreecommitdiffstats
path: root/test/dtypes.c
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2021-08-24 13:22:24 (GMT)
committerGitHub <noreply@github.com>2021-08-24 13:22:24 (GMT)
commit9424fa2d5e9cab7e187f9e1efe0bc7ba50f691ca (patch)
tree9a8941bf34a64be750a6c6a1bcd0349711a6dfbe /test/dtypes.c
parentb80d6336ba456591c0b09cc342bee51f41d8d9aa (diff)
downloadhdf5-9424fa2d5e9cab7e187f9e1efe0bc7ba50f691ca.zip
hdf5-9424fa2d5e9cab7e187f9e1efe0bc7ba50f691ca.tar.gz
hdf5-9424fa2d5e9cab7e187f9e1efe0bc7ba50f691ca.tar.bz2
cmake: simplify try_run result comparisons (#950) (#952)
Instead of looking at `MATCHES 0` which runs a regex and returns a false positive for any result such as `10`, check if they are equal to `0`. Also quote `0` to avoid looking it up as a variable (which was left behind prior to the fix to use `${RETURN_VAR}` in the `c_run` macro). Co-authored-by: Ben Boeckel <mathstuf@users.noreply.github.com>
Diffstat (limited to 'test/dtypes.c')
0 files changed, 0 insertions, 0 deletions