Skip to content

Commit cd838bb

Browse files
committed
[tests] Increase LLVM datasets test timeout.
1 parent 3cc2a9c commit cd838bb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/llvm/datasets/cbench_validate_test.py

+4
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@
33
# This source code is licensed under the MIT license found in the
44
# LICENSE file in the root directory of this source tree.
55
"""Test for cBench semantics validation."""
6+
import pytest
7+
68
from compiler_gym import ValidationResult
79
from compiler_gym.envs.llvm import LlvmEnv
810
from tests.test_main import main
911

1012
pytest_plugins = ["tests.pytest_plugins.llvm"]
1113

1214

15+
@pytest.mark.timeout(600)
1316
def test_validate_benchmark_semantics(env: LlvmEnv, validatable_cbench_uri: str):
1417
"""Run the validation routine on all benchmarks."""
1518
env.reward_space = "IrInstructionCount"
@@ -29,6 +32,7 @@ def test_validate_benchmark_semantics(env: LlvmEnv, validatable_cbench_uri: str)
2932
assert result.okay()
3033

3134

35+
@pytest.mark.timeout(600)
3236
def test_non_validatable_benchmark_validate(
3337
env: LlvmEnv, non_validatable_cbench_uri: str
3438
):

0 commit comments

Comments
 (0)