aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 2eb1fb6b..60f19af2 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1817,10 +1817,10 @@ Succeeded!
int main()
{
printf("*%.2f,%.2f,%d", M_PI, -M_PI, (1/0.0) > 1e300); // could end up as infinity, or just a very very big number
- printf(",%d", finite(NAN) != 0);
- printf(",%d", finite(INFINITY) != 0);
- printf(",%d", finite(-INFINITY) != 0);
- printf(",%d", finite(12.3) != 0);
+ printf(",%d", isfinite(NAN) != 0);
+ printf(",%d", isfinite(INFINITY) != 0);
+ printf(",%d", isfinite(-INFINITY) != 0);
+ printf(",%d", isfinite(12.3) != 0);
printf(",%d", isinf(NAN) != 0);
printf(",%d", isinf(INFINITY) != 0);
printf(",%d", isinf(-INFINITY) != 0);
@@ -12013,6 +12013,9 @@ elif 'browser' in str(sys.argv):
def test_cubegeom(self):
self.btest('cubegeom.c', args=['-O2', '-g'], expected=['188641320', '1522377227', '-1054007155', '-1111866053'])
+ def test_cubegeom_glew(self):
+ self.btest('cubegeom_glew.c', expected=['188641320', '1522377227', '-1054007155', '-1111866053'])
+
def test_cubegeom_color(self):
self.btest('cubegeom_color.c', expected=['588472350', '-687660609', '-818120875'])