diff --git a/tests/extract_offsets.cc b/tests/extract_offsets.cc index e72fddc94..4860d64ee 100644 --- a/tests/extract_offsets.cc +++ b/tests/extract_offsets.cc @@ -12,7 +12,10 @@ #undef NDEBUG #include + +#ifndef ECCODES_ON_WINDOWS #include +#endif int main(int argc, char* argv[]) { diff --git a/tests/extract_offsets.sh b/tests/extract_offsets.sh index ea43f0091..65cf98a4f 100755 --- a/tests/extract_offsets.sh +++ b/tests/extract_offsets.sh @@ -17,6 +17,11 @@ temp2="temp.${label}.2" tempLog="temp.${label}.log" tempRef="temp.${label}.ref" +if [ $ECCODES_ON_WINDOWS -eq 1 ]; then + echo "$0: This test is currently disabled on Windows" + exit 0 +fi + echo "Multi-message BUFR..." # --------------------------- input=${data_dir}/bufr/aeolus_wmo_26.bufr