-
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
Description
Comment:
Whilst thrashing on #207 to build netcdf 4.9.3, I found that -O3
was leading to test failures on MacOSX.
*** testing nc_redef ...
1386 good comparisons.
FAILURE at line 1074 of $SRC_DIR/nc_test/util.c: Var d [0] value read -80 not that expected 255
33 good comparisons.
1386 good comparisons.
FAILURE at line 1074 of $SRC_DIR/nc_test/util.c: Var d [0] value read -80 not that expected 255
33 good comparisons.
*** testing nc_sync ...
FAILURE at line 1074 of $SRC_DIR/nc_test/util.c: Var d [0] value read 32 not that expected 255
33 good comparisons.
1386 good comparisons.
### 1 FAILURES TESTING nc_sync! ###
*** testing nc_abort ...
1386 good comparisons.
FAILURE at line 1074 of $SRC_DIR/nc_test/util.c: Var d [0] value read -32 not that expected 255
33 good comparisons.
### 1 FAILURES TESTING nc_abort! ###
*** testing nc_copy_att ...
FAILURE at line 1074 of $SRC_DIR/nc_test/util.c: Var d [0] value read -48 not that expected 255
33 good comparisons.
### 1 FAILURES TESTING nc_copy_att! ###
*** testing nc_rename_att ...
FAILURE at line 1875 of $SRC_DIR/build-shared/nc_test/test_write.c: get_att_text: unexpected value
### 1 FAILURES TESTING nc_rename_att! ###
So an elegant hack was arrived at to force MacOSX to use -O2
. I think this was a similar situation to what was found with #164