From 896abef7f5fab13b9ad9b13c9030c48af4b04342 Mon Sep 17 00:00:00 2001 From: Chris Cummins Date: Wed, 19 Jan 2022 12:35:33 +0000 Subject: [PATCH] [tests] Mark xfail tests because of unclosed sockets. Issue #459. --- tests/gcc/datasets/csmith_test.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/gcc/datasets/csmith_test.py b/tests/gcc/datasets/csmith_test.py index 230fbe68a..537e088f7 100644 --- a/tests/gcc/datasets/csmith_test.py +++ b/tests/gcc/datasets/csmith_test.py @@ -18,6 +18,9 @@ pytest_plugins = ["tests.pytest_plugins.common", "tests.pytest_plugins.gcc"] +@pytest.mark.xfail( + reason="github.com/facebookresearch/CompilerGym/issues/459", +) @with_gcc_support def test_csmith_size(gcc_bin: str): with gym.make("gcc-v0", gcc_bin=gcc_bin) as env: @@ -27,6 +30,9 @@ def test_csmith_size(gcc_bin: str): assert len(csmith_dataset) == 0 +@pytest.mark.xfail( + reason="github.com/facebookresearch/CompilerGym/issues/459", +) @with_gcc_support @pytest.mark.parametrize("index", range(3) if is_ci() else range(10)) def test_csmith_random_select(gcc_bin: str, index: int, tmpwd: Path): @@ -62,6 +68,9 @@ def test_random_benchmark(gcc_bin: str): assert len(random_benchmarks) == num_benchmarks +@pytest.mark.xfail( + reason="github.com/facebookresearch/CompilerGym/issues/459", +) @with_gcc_support def test_csmith_from_seed_retry_count_exceeded(gcc_bin: str): with gym.make("gcc-v0", gcc_bin=gcc_bin) as env: