Changeset 158
- Timestamp:
- Jan 16, 2008, 9:17:27 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r157 r158 170 170 CFLAGS=`echo $CFLAGS | sed 's%\-g%%' ` 171 171 fi 172 if test -z "`echo "$CFLAGS" | grep "\ -fast" 2> /dev/null`"; then173 CFLAGS="$CFLAGS -fast"172 if test -z "`echo "$CFLAGS" | grep "\+O2" 2> /dev/null`"; then 173 CFLAGS="$CFLAGS +O2" 174 174 fi 175 175 fi -
trunk/docs/Changelog
r156 r158 1 1 2.4.2: 2 * change HP-UX default optimization to +O2 since +O3 breaks cutest 2 3 * put result vector of rng in skey struct 3 4 * fix more compiler warnings, and a potential (compiler-dependent) -
trunk/src/CuTest.c
r137 r158 242 242 { 243 243 char buf[STRING_MAX]; 244 if (fabs(expected - actual) <= delta) return; 244 #define SH_FABS(a) (((a) < 0) ? -(a) : (a)) 245 if (SH_FABS(expected - actual) <= delta) return; 245 246 sprintf(buf, "expected <%lf> but was <%lf>", expected, actual); 246 247 CuFail_Line(tc, file, line, message, buf);
Note:
See TracChangeset
for help on using the changeset viewer.