fix malloc-brk-fail
[libc-test] / src / math / fmaxf.c
index d90b908..cadc356 100644 (file)
@@ -1,9 +1,10 @@
 #include <stdint.h>
 #include <stdio.h>
-#include "util.h"
+#include "mtest.h"
 
 static struct ff_f t[] = {
 #include "sanity/fmaxf.h"
+#include "special/fmaxf.h"
 
 };
 
@@ -25,7 +26,7 @@ int main(void)
                y = fmaxf(p->x, p->x2);
                e = fetestexcept(INEXACT|INVALID|DIVBYZERO|UNDERFLOW|OVERFLOW);
 
-               if (!checkexcept(e, p->e, p->r)) {
+               if (!checkexceptall(e, p->e, p->r)) {
                        printf("%s:%d: bad fp exception: %s fmaxf(%a,%a)=%a, want %s",
                                p->file, p->line, rstr(p->r), p->x, p->x2, p->y, estr(p->e));
                        printf(" got %s\n", estr(e));