summaryrefslogtreecommitdiffstats
path: root/test/t/test_configure.py
blob: 0fc6117140043f88793af9db64e516c43b9ef51f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import pytest


@pytest.mark.bashcomp(
    pre_cmds=(
        # Make sure our own ./configure is in PATH
        "PATH=$PWD/../..:$PATH",
    )
)
class TestConfigure:
    @pytest.mark.complete("configure --", require_cmd=True)
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("configure --prefix ")
    def test_2(self, completion):
        assert completion