diff --git a/integration_tests/run_tests.py b/integration_tests/run_tests.py index 301e15d217..9f1e1276b5 100755 --- a/integration_tests/run_tests.py +++ b/integration_tests/run_tests.py @@ -20,13 +20,13 @@ "test_builtin_pow.py", "test_builtin_int.py", "test_builtin_float.py", - "test_math1.py" + "test_math1.py", + "test_c_interop_01.py", ] # CPython tests only test_cpython = [ "test_generics_01.py", - "test_c_interop_01.py" ] diff --git a/integration_tests/test_c_interop_01.py b/integration_tests/test_c_interop_01.py index 2b5f856d8f..6582f58a40 100644 --- a/integration_tests/test_c_interop_01.py +++ b/integration_tests/test_c_interop_01.py @@ -23,13 +23,10 @@ def _lfortran_random_number(n: i64, v: f64[:]): def test_c_callbacks(): pi: f64 = 3.141592653589793238462643383279502884197 - pi32: f32 = 3.141592653589793238462643383279502884197 assert abs(_lfortran_dsin(pi) - 0) < 1e-12 assert abs(_lfortran_dsin(pi/2) - 1) < 1e-12 #assert abs(_lfortran_ssin(pi) - 0) < 1e-6 #assert abs(_lfortran_ssin(pi/2) - 1) < 1e-6 - assert abs(_lfortran_ssin(pi32) - 0) < 1e-6 - assert abs(_lfortran_ssin(pi32/2) - 1) < 1e-6 assert _lfortran_bgt32(3, 4) == 0 assert _lfortran_bgt32(4, 3) == 1